% Copyright 2004-2008 Ross Moore <ross@maths.mq.edu.au>
\ProvidesFile{xunicode.sty}[2008/02/08 v0.91 provides access to
 latin accents and many other characters in Unicode lower plane]

% This package is designed to work with TeX engines that directly
% process UTF8 input and use Unicode and OpenType fonts.
% At the time of writing, XeTeX is the only known engine of this kind.
% When more engines become available, the following test should be
% altered.

\begingroup
 \def\notXeTeXformat{%
  \@latex@error{*** this package currently works only with XeTeX ***^^J
   You are not using XeTeX, so we are exiting cleanly!^^J
   Continuing may lead to 'unavailable font metrics' errors!^^J}\@ehc
  \endgroup\endinput}
\expandafter\ifx\csname XeTeXpicfile\endcsname\relax\expandafter\notXeTeXformat\fi
\endgroup

% The single biggest mistake made by novice XeTeX users is
% to declare wrong encodings, using the {inputenc} package.
% While not fatal, this can cause bad output, which they then
% incorrectly attribute to XeTeX or to this  xunicode.sty  package.
% So here is a test for this error, which posts warning messages.
%
\def\@TestForInputenc{%
 \@ifpackageloaded{inputenc}{\@dontuse@inputenc}{}%
}
\def\@dontuse@inputenc{%
  \typeout{\@dontinputenci}%
  \typeout{\@dontinputencii}%
  \typeout{\@dontinputenciii}%
}
\def\@dontinputenci{*** you should *not* be loading the inputenc package}
\def\@dontinputencii{*** XeTeX expects the source to be in UTF8 encoding}
\def\@dontinputenciii{*** some features of other encodings may conflict,
 resulting in poor output.}

\def\@cleanupafterinputenc{%
 \let\@TestForInputenc\relax
 \let\@dontuse@inputenc\relax
 \let\@dontinputenci\relax
 \let\@dontinputencii\relax
 \let\@dontinputenciii\relax
}
\@TestForInputenc
\AtBeginDocument{\@TestForInputenc}
\AtBeginDocument{\@cleanupafterinputenc}

%%%%  History of Changes  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% v0.1  released on the XeTeX mailing list, 2004/07/22
%
% v0.2  2004/07/25  
%       modified so that  \DeclareUTFcharacter produces robust commands.
%       support for IPA symbols and many commands from  tipa.sty
%       implemented commands for 'double' accents, as in  tipa.sty
%
% v0.3  2004/09/10  
%       support for accented \i and \j as well as plain i and j letters.
%       support for TIPA's T3 encoding
%       TIPA's double-accent shorthands and tone-markings are supported.
%
% v0.4  2004/09/13  
%       fixed the problem of "gobbled spaces", by inserting \relax
%
% v0.5  2005/02/26  
%       changed package name to    xunicode.sty 
%       fixed problem with accented {} (empty token)
%       supports accented spaces:  \'\  , \'{ } , \'~  
%       changed \textascii<accent>, etc. to give non-accent chars
%         6 chars affected:  
%           \textasciitilde, \textasciiacute, \textasciigrave
%           \textasciimacron,  \textasciicircum, \textasciicedilla
%       removed the  " did you really mean " message.
%
% v0.6  2005/10/20  
%       added check and warnings for when  inputenc.sty  is also loaded
%
% v0.7  2006/04/09  
%       changed  \textg  to give x0261
%
% v0.8  2006/07/18  
%       changed  \textminus  to give x2212  (thanks Toralf Senger)
%       fixed name for x212E as \textestimated  (not \textestimate)
%       added support for  \textlquill (x2045) and \textrquill (x2046)
%       added support for  \textmusicalnote (x266A)
%       added support for  \capital<accent>s   from  textcomp.sty
%
% v0.9  2007/09/11  
%       fixes to some TIPA macro names for active chars:  2 3 G U Z
%       provides a definition for  \textezh
%
% v0.91 2008/02/08  
%       added declarations for common accents over \i 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% This package should work with any encoding name.
% Simply define an expansion for \UTFencname before loading this file,
% otherwise the encoding name will be 'U'.
\providecommand{\UTFencname}{U}

% Use \DeclareUTFcharacter to assign a cs-name to
% access a Unicode code-point...
%
\newcommand{\DeclareUTFcharacter}[3][\UTFencname]{%
  \let\add@flag\@ne % ==> add support in this encoding
  \check@hexcom@digits #2@@@@@!@{#1}{#2}{#3}%
}
%
% ... or use \UndeclareUTFcharacter to cancel a declaration
% when the appropriate code-point is not supported in the
% desired text-font.
%
\newcommand{\UndeclareUTFcharacter}[3][\UTFencname]{%
  \let\add@flag\z@ % ==> remove support in this encoding
  \check@hexcom@digits #2@@@@@!@{#1}{#2}{#3}%
}

\def\check@hexcom@digits#1#2@!@#3#4#5{%
 \ifx x#1\relax
  \check@hexcom@digits@#2@!@{#3}{#4}{#5}%
 \else
  \UTFacc@warning@{code #4 for #3-\string#5 fails to start with 'x'}%
 \fi
}

% Use \DeclareUTFcomposite to assign a cs-name to access
% accents or composite characters via Unicode code-points,
% or the Unicode "Composing Character" mechanism ...
%
\newcommand{\DeclareUTFcomposite}[4][\UTFencname]{{%
  \let\add@flag\@ne % ==> add support in this encoding
  \check@hex@digits #2@@@@@!@{#1}{#2}{#3}{#4}%
}}
\newcommand{\DeclareUTFmulticomposite}[4][\UTFencname]{{%
  \let\add@flag\@ne % ==> add support in this encoding
  \check@hex@digits #2@@@@@!@{#1}{#2}{#3}{#4}%
}}
%
% ... or use \UndeclareUTFcomposite to cancel a declaration
% when the appropriate code-point is not supported in the
% desired text-font.
%
\newcommand{\UndeclareUTFcomposite}[4][\UTFencname]{{%
  \let\add@flag\z@ % ==> remove support in this encoding
  \check@hex@digits #2@@@@@!@{#1}{#2}{#3}{#4}%
}}

\def\check@hex@digits#1#2@!@#3#4#5#6{%
 \ifx x#1\relax
   \check@hex@digits@#2@!@{#3}{#4}{#5}{#6}%
 \else
  \UTFacc@warning@{code #4 for #3-\string#5#6 fails to start with 'x'}%
 \fi
}

\def\UTF@ignore#1{\iffalse}
\def\UTF@doit#1{\iftrue}

%%
%% these next macros need to have " with correct \catcode
%%
{\catcode`\"=12
%
\gdef\check@hexcom@digits@#1#2#3#4#5@!@#6#7#8{%
 \ifx @#4\relax
  \UTFacc@warning@{insufficient hex digits #7 for #6-\string#8}%
 \else
  \ifcat \active\noexpand#8%
   \ifx\add@flag\@ne %
    \expandafter\def\csname\UTFencname\string#8\endcsname{\char"#1#2#3#4\relax}%
    \ifx\unDeFiNed@#8%
     \ifx\cf@encoding\UTFencname
      \DeclareTextCommand{#8}{OT1}{\undefined}%
     \else
      \DeclareTextCommand{#8}{\cf@encoding}{\undefined}%
     \fi
    \else {% macro #8 exists already ...
      \let\protect\noexpand
      \edef\UTF@testi{#8}\def\UTF@testii{#8}%
      \ifx\UTF@testi\UTF@testii\aftergroup\UTF@ignore
      \else\aftergroup\UTF@doit\fi
     }%
     \iffalse
      % ... but when it isn't robust, make it so
      \expandafter\let\csname?-\string#8\endcsname#8\relax
      \edef\next@UTF@{{\cf@encoding}%
        {\expandafter\noexpand\csname?-\string#8\endcsname}}%
      \expandafter\DeclareTextCommand\expandafter
         {\expandafter#8\expandafter}\next@UTF@
     \fi
    \fi %
   \else % \add@flag \z@
    \expandafter\global\expandafter
      \let\csname\UTFencname\string#8\endcsname\relax
   \fi % end of \add@flag switch
  \else % not active catcode --- shouldn't happen
  % \typeout{*** did you really mean #8 ? ***}%
   \ifx\add@flag\@ne %
    \edef\tmp@name{\expandafter\string\csname\UTFencname\endcsname
      \expandafter\string\csname#8\endcsname}%
    \expandafter\def\csname\tmp@name\endcsname{\char"#1#2#3#4\relax}%
    \ifx\cf@encoding\UTFencname
     \expandafter\DeclareTextCommand\expandafter
       {\csname#8\endcsname}{OT1}{\undefined}%
    \else
     \expandafter\DeclareTextCommand\expandafter
       {\csname#8\endcsname}{\cf@encoding}{\undefined}%
    \fi
   \else % \add@flag \z@
    \expandafter\global\expandafter\let\csname#8\endcsname\relax
   \fi % end of \add@flag switch
  \fi % end of \ifcat
 \fi}
\gdef\check@hex@digits@#1#2#3#4#5@!@#6#7#8#9{%
 \ifx @#4\relax
  \UTFacc@warning@{insufficient hex digits #7 for #6-\string#8#9}%
 \else
  \def\UTFchar{\char"#1#2#3#4\relax}%
  \expandafter\expandafter\expandafter\declare@utf@composite
  \expandafter\expandafter\expandafter
   {\expandafter\csname#6\endcsname}{\UTFchar}{#8}{#9}\relax
 \fi}
%\gdef\add@UTF@accent#1#2#3{#2\char"#1\relax}
\gdef\add@UTF@accent#1#2#3{\ifx\relax#2\relax\char"#3\else
 \ifx\ #2\relax\char"#3\else
 \expandafter\ifx\UTF@space#2\relax\char"#3\else
 \ifx~#2\char"#3\else#2\char"#1\fi\fi\fi\fi\relax}
\gdef\add@UTF@accents#1#2#3{#2\char"#1\char"#3\relax}
\gdef\add@set@accentCOMP#1#2#3{\add@accent{"#1}{#2}}
\gdef\add@set@accentMOD#1#2#3{\add@accent{"#3}{#2}}
\gdef\declare@hex@command#1#2{\gdef#2{#1}}%
%
}%  end of \catcode`\"=12

{\catcode`\ =10\relax%
\gdef\UTF@@space{ }}%
\edef\UTF@space{\UTF@@space}

\def\declare@utf@composite#1#2#3#4{%
 \expandafter\ifcat\expandafter A\string#4\relax
  {\ifx\add@flag\@ne %
   \expandafter\xdef\csname\string#1\string#3-#4\endcsname{#2}%
  \else
   \expandafter\global\expandafter
    \let\csname\string#1\string#3-#4\endcsname\relax
  \fi}%
 \else
  {\ifx\add@flag\@ne %
   \expandafter\xdef\csname\string#1\string#3-\string#4\endcsname{#2}%
  \else
   \expandafter\global\expandafter
    \let\csname\string#1\string#3-\string#4\endcsname\relax
  \fi}%
 \fi
}

% new command:  {\DeclareEncodedCompositeCharacter}[3]{%
  %  #1 = encoding
  %  #2 = accent-macro in TeX
  %  #3 = position of combining glyph in Unicode
  %  #4 = bare accent position, in Unicode
  %  ##1 = slot for the accented letter
\newcommand{\DeclareEncodedCompositeCharacter}[4]{%
  \expandafter\def\csname #1\string#2\endcsname##1{%
    \expandafter\@text@composite \csname #1\string#2\endcsname##1\@empty
    \@text@composite{\add@encoded@accent{#3}{##1}{#4}}}%
}
\newcommand{\DeclareEncodedCompositeAccents}[4]{%
  \expandafter\def\csname #1\string#2\endcsname##1{%
    \expandafter\@text@composite \csname #1\string#2\endcsname##1\@empty
    \@text@composite{\add@encoded@accents{#4}{##1}{#3}}}%
}
\let\add@encoded@accent\add@UTF@accent
\let\add@encoded@accents\add@UTF@accents
%\let\add@encoded@accent\add@set@accentCOMP
%\let\add@encoded@accent\add@set@accentMOD

\DeclareEncodedCompositeCharacter{\UTFencname}{\`}{0300}{02CB}  % Combining grave accent
\@ifundefined{capitalgrave}{\DeclareTextAccent{\capitalgrave}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalgrave}{0300}{02CB}  % textcomp grave accent
\DeclareEncodedCompositeCharacter{\UTFencname}{\'}{0301}{02CA}  % Combining acute accent
\@ifundefined{capitalacute}{\DeclareTextAccent{\capitalacute}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalacute}{0301}{02CA}  % textcomp acute accent
\DeclareEncodedCompositeCharacter{\UTFencname}{\^}{0302}{02C6}  % Combining circumflex accent
\@ifundefined{capitalcircumflex}{\DeclareTextAccent{\capitalcircumflex}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalcircumflex}{0302}{02C6}  % textcomp circumflex accent
\DeclareEncodedCompositeCharacter{\UTFencname}{\~}{0303}{02DC}  % Combining tilde
\@ifundefined{capitaltilde}{\DeclareTextAccent{\capitaltilde}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitaltilde}{0303}{02DC}  % textcomp tilde
\DeclareEncodedCompositeCharacter{\UTFencname}{\=}{0304}{02C9}  % Combining macron
\@ifundefined{capitalmacron}{\DeclareTextAccent{\capitalmacron}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalmacron}{0304}{02C9}  % textcomp macron
\DeclareTextAccent{\textoverline}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textoverline}{0305}{203E}  % Combining overline
\DeclareEncodedCompositeCharacter{\UTFencname}{\u}{0306}{02D8}  % Combining breve
\@ifundefined{capitalbreve}{\DeclareTextAccent{\capitalbreve}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalbreve}{0306}{02D8}  % textcomp breve
\DeclareEncodedCompositeCharacter{\UTFencname}{\.}{0307}{02D9}  % Combining dot above
\@ifundefined{capitaldotaccent}{\DeclareTextAccent{\capitaldotaccent}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitaldotaccent}{0307}{02D9}  % textcomp dot above
\DeclareEncodedCompositeCharacter{\UTFencname}{\"}{0308}{00A8}  % Combining diaeresis
\@ifundefined{capitaldieresis}{\DeclareTextAccent{\capitaldieresis}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitaldieresis}{0308}{00A8}  % textcomp diaeresis
\@ifundefined{m}{\DeclareTextAccent{\m}{OT1}{999}}{} % miscellaneous IPA symbols
\DeclareEncodedCompositeCharacter{\UTFencname}{\m}{0309}{0309}  % (Combining hook above)
\DeclareTextAccent{\texthookabove}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\texthookabove}{0309}{0309}  % Combining hook above
\DeclareEncodedCompositeCharacter{\UTFencname}{\r}{030A}{02DA}  % Combining ring above
\@ifundefined{capitalring}{\DeclareTextAccent{\capitalring}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalring}{030A}{02DA}  % textcomp ring above
\DeclareEncodedCompositeCharacter{\UTFencname}{\H}{030B}{02DD}  % Combining double acute
\@ifundefined{capitalhungarumlaut}{\DeclareTextAccent{\capitalhungarumlaut}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalhungarumlaut}{030B}{02DD}  % textcomp double acute
\DeclareEncodedCompositeCharacter{\UTFencname}{\v}{030C}{02C7}  % Combining caron
\@ifundefined{capitalcaron}{\DeclareTextAccent{\capitalcaron}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalcaron}{030C}{02C7}  % textcomp caron
\@ifundefined{textvbaraccent}{\DeclareTextAccent{\textvbaraccent}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textvbaraccent}{030D}{02C8}  % Combining vertical line above
\@ifundefined{textdoublevbaraccent}{\DeclareTextAccent{\textdoublevbaraccent}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoublevbaraccent}{030E}{030E}  % Combining double vertical line above
\@ifundefined{U}{\DeclareTextAccent{\U}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\U}{030E}{}  % Combining double vertical line above
\@ifundefined{textdoublegrave}{\DeclareTextAccent{\textdoublegrave}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoublegrave}{030F}{02F5}  % Combining double grave accent
\@ifundefined{G}{\DeclareTextAccent{\G}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\G}{030F}{02F5}  % Combining double grave accent
\@ifundefined{textdotbreve}{\DeclareTextAccent{\textdotbreve}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdotbreve}{0310}{0310}  % Combining candrabindu
\@ifundefined{textroundcap}{\DeclareTextAccent{\textroundcap}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textroundcap}{0311}{0311}  % Combining inverted breve
\@ifundefined{newtie}{\DeclareTextAccent{\newtie}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\newtie}{0311}{0311}  % Combining inverted breve
\@ifundefined{capitalnewtie}{\DeclareTextAccent{\capitalnewtie}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalnewtie}{0311}{0311}  % Combining inverted breve
\@ifundefined{t}{\DeclareTextAccent{\t}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\t}{0311}{0311}  % Combining inverted breve
\@ifundefined{capitaltie}{\DeclareTextAccent{\capitaltie}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitaltie}{0311}{0311}  % Combining inverted breve
\DeclareTextAccent{\textturncommaabove}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textturncommaabove}{0312}{02BB}  % Combining turned comma above
\DeclareTextAccent{\textcommaabove}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textcommaabove}{0313}{02BC}  % Combining comma above
\DeclareTextAccent{\textrevcommaabove}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrevcommaabove}{0314}{02BD}  % Combining reversed comma above
\DeclareTextAccent{\textcommaabover}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textcommaabover}{0315}{02BC}  % Combining comma above right
\@ifundefined{textsubgrave}{\DeclareTextAccent{\textsubgrave}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubgrave}{0316}{02CE}  % Combining grave accent below
\@ifundefined{textsubacute}{\DeclareTextAccent{\textsubacute}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubacute}{0317}{02CF}  % Combining acute accent below
\@ifundefined{textadvancing}{\DeclareTextAccent{\textadvancing}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textadvancing}{0318}{0318}  % Combining left tack below
\@ifundefined{textretracting}{\DeclareTextAccent{\textretracting}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textretracting}{0319}{0319}  % Combining right tack below
\DeclareTextAccent{\textlangleabove}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textlangleabove}{031A}{031A}  % Combining left angle above
\DeclareTextAccent{\textrighthorn}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrighthorn}{031B}{031B}  % Combining horn
\@ifundefined{textsublhalfring}{\DeclareTextAccent{\textsublhalfring}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsublhalfring}{031C}{02D3}  % Combining left half ring below
\@ifundefined{textraising}{\DeclareTextAccent{\textraising}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textraising}{031D}{02D4}  % Combining up tack below
\@ifundefined{textlowering}{\DeclareTextAccent{\textlowering}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textlowering}{031E}{02D5}  % Combining down tack below
\@ifundefined{textsubplus}{\DeclareTextAccent{\textsubplus}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubplus}{031F}{02D6}  % Combining plus sign below
\@ifundefined{textsubminus}{\DeclareTextAccent{\textsubminus}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubminus}{0320}{02D7}  % Combining minus sign below
\DeclareTextAccent{\textpalhookbelow}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textpalhookbelow}{0321}{0321}  % Combining palatalized hook below
\@ifundefined{M}{\DeclareTextAccent{\M}{OT1}{999}}{} % more Miscellaneous IPA characters
\DeclareEncodedCompositeCharacter{\UTFencname}{\M}{0322}{0322}  % (Combining retroflex hook below)
\DeclareTextAccent{\textrethookbelow}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrethookbelow}{0322}{0322}  % Combining retroflex hook below
\DeclareEncodedCompositeCharacter{\UTFencname}{\d}{0323}{0323}  % Combining dot below
\@ifundefined{textsubdot}{\DeclareTextAccent{\textsubdot}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubdot}{0323}{0323}  % Combining dot below
\@ifundefined{textsubumlaut}{\DeclareTextAccent{\textsubumlaut}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubumlaut}{0324}{0324}  % Combining diaeresis below
\@ifundefined{textsubring}{\DeclareTextAccent{\textsubring}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubring}{0325}{02F3}  % Combining ring below
\DeclareTextAccent{\textcommabelow}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textcommabelow}{0326}{0326}  % Combining comma below
\DeclareEncodedCompositeCharacter{\UTFencname}{\c}{0327}{00B8}  % Combining cedilla
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalcedilla}{0327}{00B8}  % Combining cedilla
\DeclareEncodedCompositeCharacter{\UTFencname}{\k}{0328}{02DB}  % Combining ogonek
\DeclareEncodedCompositeCharacter{\UTFencname}{\capitalogonek}{0328}{02DB}  % Combining ogonek
\@ifundefined{textpolhook}{\DeclareTextAccent{\textpolhook}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textpolhook}{0328}{02DB}  % Combining ogonek
\@ifundefined{textsyllabic}{\DeclareTextAccent{\textsyllabic}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsyllabic}{0329}{02CC}  % Combining vertical line below
\@ifundefined{textsubbridge}{\DeclareTextAccent{\textsubbridge}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubbridge}{032A}{032A}  % Combining bridge below
\let\dental\textsubbridge
\@ifundefined{textsubw}{\DeclareTextAccent{\textsubw}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubw}{032B}{032B}  % Combining inverted double arch below
\@ifundefined{textsubwedge}{\DeclareTextAccent{\textsubwedge}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubwedge}{032C}{032C}  % Combining caron below
\@ifundefined{textsubcircum}{\DeclareTextAccent{\textsubcircum}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubcircum}{032D}{032D}  % Combining circumflex accent below
\@ifundefined{textundertie}{\DeclareTextAccent{\textundertie}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textundertie}{032E}{203F}  % Combining breve below
\@ifundefined{textsubarch}{\DeclareTextAccent{\textsubarch}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubarch}{032F}{032F}  % Combining inverted breve below
\let\underarch\textsubarch
\@ifundefined{textsubtilde}{\DeclareTextAccent{\textsubtilde}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubtilde}{0330}{02F7}  % Combining tilde below
\@ifundefined{textsubbar}{\DeclareTextAccent{\textsubbar}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubbar}{0331}{02CD}  % Combining macron below
\DeclareEncodedCompositeCharacter{\UTFencname}{\b}{0332}{005F}  % Combining low line
\@ifundefined{subdoublebar}{\DeclareTextAccent{\subdoublebar}{OT1}{999}}{} 
\DeclareEncodedCompositeCharacter{\UTFencname}{\subdoublebar}{0333}{0333}  % ??? see x0347
%\DeclareEncodedCompositeCharacter{\UTFencname}{\subdoublebar}{0333}{0347}  % Combining double low line
\DeclareTextAccent{\textsuperimposetilde}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsuperimposetilde}{0334}{007E}  % Combining tilde overlay,  x02DC ?
\@ifundefined{B}{\DeclareTextAccent{\B}{OT1}{999}}{} % barred variants for TIPA
\DeclareEncodedCompositeCharacter{\UTFencname}{\B}{0335}{02D7}  % (Combining short stroke overlay)
\DeclareTextAccent{\textsstrokethru}{OT1}{999} % stroke thru lowercase letters
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsstrokethru}{0335}{00AF}  % Combining short stroke overlay,  x02D7 ?
\DeclareTextAccent{\textlstrokethru}{OT1}{999} % stroke thru Uppercase letters
\DeclareEncodedCompositeCharacter{\UTFencname}{\textlstrokethru}{0336}{0336}  % Combining long stroke overlay
\DeclareTextAccent{\textsstrikethru}{OT1}{999} % strike out lowercase letters
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsstrikethru}{0337}{0337}  % Combining short solidus overlay
\DeclareTextAccent{\textlstrikethru}{OT1}{999} % strike out Uppercase letters
\DeclareEncodedCompositeCharacter{\UTFencname}{\textlstrikethru}{0338}{0338}  % Combining long solidus overlay
\@ifundefined{textsubrhalfring}{\DeclareTextAccent{\textsubrhalfring}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubrhalfring}{0339}{02D2}  % Combining right half ring below
\@ifundefined{textinvsubbridge}{\DeclareTextAccent{\textinvsubbridge}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textinvsubbridge}{033A}{033A}  % Combining inverted bridge below
\@ifundefined{textsubsquare}{\DeclareTextAccent{\textsubsquare}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textsubsquare}{033B}{033B}  % Combining square below
\@ifundefined{textseagull}{\DeclareTextAccent{\textseagull}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textseagull}{033C}{033C}  % Combining seagull below
\@ifundefined{textovercross}{\DeclareTextAccent{\textovercross}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textovercross}{033D}{033D}  % Combining x above
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{033E}{}  % Combining vertical tilde
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{033F}{}  % Combining double overline
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0340}{}  % Combining grave tone mark
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0341}{}  % Combining acute tone mark
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0342}{}  % Combining greek perispomeni
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0343}{}  % Combining greek koronis
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0344}{}  % Combining greek dialytika tonos
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0345}{}  % Combining greek ypogegrammeni
\@ifundefined{overbridge}{\DeclareTextAccent{\overbridge}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\overbridge}{0346}{0346}  % Combining bridge above
%\@ifundefined{subdoublebar}{\DeclareTextAccent{\subdoublebar}{OT1}{999}}{}
%\DeclareEncodedCompositeCharacter{\UTFencname}{\subdoublebar}{0347}{0347}  % ???  see x0333
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0347}{0347}  % Combining equals sign below
\@ifundefined{subdoublevert}{\DeclareTextAccent{\subdoublevert}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\subdoublevert}{0348}{0348}  % Combining double vertical line below
\@ifundefined{subcorner}{\DeclareTextAccent{\subcorner}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\subcorner}{0349}{0349}  % Combining left angle below
\@ifundefined{textoverw}{\DeclareTextAccent{\textoverw}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textoverw}{034A}{034A} % ??? Combining not tilde above
\@ifundefined{crtilde}{\DeclareTextAccent{\crtilde}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\crtilde}{034A}{034A} % Combining not tilde above
\@ifundefined{dottedtilde}{\DeclareTextAccent{\dottedtilde}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\dottedtilde}{034B}{034B}  % Combining homothetic above
\@ifundefined{doubletilde}{\DeclareTextAccent{\doubletilde}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\doubletilde}{034C}{034C}  % Combining almost equal to above
\@ifundefined{spreadlips}{\DeclareTextAccent{\spreadlips}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\spreadlips}{034D}{034D}  % Combining left right arrow below
\@ifundefined{whistle}{\DeclareTextAccent{\whistle}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\whistle}{034E}{02F0}  % Combining upwards arrow below
\DeclareTextAccent{\textgraphemejoin}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textgraphemejoin}{034F}{034F}  % Combining grapheme joiner
\DeclareTextAccent{\textrightarrowhead}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrightarrowhead}{0350}{0350}  % Combining right arrowhead above
\DeclareTextAccent{\textlefthalfring}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textlefthalfring}{0351}{02D3}  % Combining left half ring above
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0352}{0352}  % Combining fermata
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0353}{0353}  % Combining x below
\@ifundefined{sublptr}{\DeclareTextAccent{\sublptr}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\sublptr}{0354}{02F1}  % Combining left arrowhead below
\@ifundefined{subrptr}{\DeclareTextAccent{\subrptr}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\subrptr}{0355}{02F2}  % Combining right arrowhead below
\DeclareTextAccent{\textrightuparrowhead}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrightuparrowhead}{0356}{0356}  % Combining right arrowhead and up
\DeclareTextAccent{\textrighthalfring}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textrighthalfring}{0357}{02D2}  % Combining right half ring above
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0358}{}  %  ** unassigned **
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0359}{}  %  ** unassigned **
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{035A}{}  %  ** unassigned **
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{035B}{}  %  ** unassigned **
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{035C}{}  %  ** unassigned **
\DeclareTextAccent{\textdoublebreve}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoublebreve}{035D}{035D}  % Combining double breve
\DeclareTextAccent{\textdoublemacron}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoublemacron}{035E}{035E}  % Combining double macron
\DeclareTextAccent{\textdoublemacronbelow}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoublemacronbelow}{035F}{035F}  % Combining double macron below
\DeclareTextAccent{\textdoubletilde}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textdoubletilde}{0360}{0360}  % Combining double tilde
\@ifundefined{texttoptiebar}{\DeclareTextAccent{\texttoptiebar}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\texttoptiebar}{0361}{0361}  % Combining double inverted breve
\@ifundefined{sliding}{\DeclareTextAccent{\sliding}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\sliding}{0362}{0362}  % Combining double rightwards arrow
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0363}{0363}  % Combining latin small letter a
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0364}{0364}  % Combining latin small letter e
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0365}{0365}  % Combining latin small letter i
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0366}{0366}  % Combining latin small letter o
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0367}{0367}  % Combining latin small letter u
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0368}{0368}  % Combining latin small letter c
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{0369}{0369}  % Combining latin small letter d
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036A}{036A}  % Combining latin small letter h
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036B}{036B}  % Combining latin small letter m
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036C}{036C}  % Combining latin small letter r
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036D}{036D}  % Combining latin small letter t
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036E}{036E}  % Combining latin small letter v
%\DeclareEncodedCompositeCharacter{\UTFencname}{\?}{036F}{036F}  % Combining latin small letter x

%  missing IPA accenting macros
%\DeclareEncodedCompositeCharacter{\UTFencname}{\partvoiceless}{????}  % Combining (o) below
%\DeclareEncodedCompositeCharacter{\UTFencname}{\inipartvoiceless}{????}  % Combining (o  below
%\DeclareEncodedCompositeCharacter{\UTFencname}{\finpartvoiceless}{????}  % Combining  o) below
%\DeclareEncodedCompositeCharacter{\UTFencname}{\partvoice}{????}  % Combining (v) below
%\DeclareEncodedCompositeCharacter{\UTFencname}{\inipartvoice}{????}  % Combining (v  below
%\DeclareEncodedCompositeCharacter{\UTFencname}{\finpartvoice}{????}  % Combining  v) below



\@ifundefined{bibridge}{\DeclareTextAccent{\bibridge}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\bibridge}{032A}{0346}  % IPA bi-bridge
\@ifundefined{textmidacute}{\DeclareTextAccent{\textmidacute}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textmidacute}{0304}{0301}  % macron-acute ligature
\@ifundefined{textgravemid}{\DeclareTextAccent{\textgravemid}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textgravemid}{0300}{0304}  % grave-macron ligature
\@ifundefined{textgravecircum}{\DeclareTextAccent{\textgravecircum}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textgravecircum}{0300}{0302}  % grave-circumflex ligature
\@ifundefined{textcircumacute}{\DeclareTextAccent{\textcircumacute}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textcircumacute}{0301}{0302}  % circumflex-acute ligature
\@ifundefined{textgravedot}{\DeclareTextAccent{\textgravedot}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textgravedot}{0300}{0307}  % grave-dot ligature
\@ifundefined{textdotacute}{\DeclareTextAccent{\textdotacute}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdotacute}{0307}{0301}  % dot-acute ligature
\@ifundefined{textacutemacron}{\DeclareTextAccent{\textacutemacron}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textacutemacron}{0301}{0304}  % acute-macron ligature
\@ifundefined{textgravemacron}{\DeclareTextAccent{\textgravemacron}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textgravemacron}{0300}{0304}  % grave-macron ligature
\@ifundefined{textacutewedge}{\DeclareTextAccent{\textacutewedge}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textacutewedge}{0301}{030C}  % acute-wedge ligature
\@ifundefined{textcircumdot}{\DeclareTextAccent{\textcircumdot}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textcircumdot}{0302}{0307}  % circumflex-dot ligature
\@ifundefined{texttildedot}{\DeclareTextAccent{\texttildedot}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\texttildedot}{0303}{0307}  % tilde-dot ligature
\@ifundefined{textringmacron}{\DeclareTextAccent{\textringmacron}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textringmacron}{030A}{0304}  % ring-macron ligature
\@ifundefined{textbrevemacron}{\DeclareTextAccent{\textbrevemacron}{OT1}{999}}{}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbrevemacron}{0306}{0304}  % breve-macron ligature

\DeclareTextAccent{\texthookcircum}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\texthookcircum}{0309}{0302}
\DeclareTextAccent{\texttildecircum}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\texttildecircum}{0303}{0302}
\DeclareTextAccent{\textdieresisoverline}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdieresisoverline}{0304}{0308}
\DeclareTextAccent{\textdieresisacute}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdieresisacute}{0301}{0308}
\DeclareTextAccent{\textdieresisgrave}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdieresisgrave}{0300}{0308}
\DeclareTextAccent{\textdieresiscaron}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdieresiscaron}{030C}{0308}
\DeclareTextAccent{\texttildeoverline}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\texttildeoverline}{0303}{0304}
\DeclareTextAccent{\textdotoverline}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdotoverline}{0304}{0307}
\DeclareTextAccent{\textringacute}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textringacute}{0301}{030A}
\DeclareTextAccent{\textcircumdotbelow}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textcircumdotbelow}{0302}{0323}
\DeclareTextAccent{\textbreveacute}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbreveacute}{0301}{0306}
\DeclareTextAccent{\textbrevegrave}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbrevegrave}{0300}{0306}
\DeclareTextAccent{\textbrevehook}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbrevehook}{0309}{0306}
\DeclareTextAccent{\textbrevetilde}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbrevetilde}{0303}{0306}
\DeclareTextAccent{\textbrevedotbelow}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textbrevedotbelow}{0323}{0306}
\DeclareTextAccent{\textacutehorn}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textacutehorn}{0301}{031B}
\DeclareTextAccent{\textgravehorn}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textgravehorn}{0300}{031B}
\DeclareTextAccent{\texthookhorn}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\texthookhorn}{0309}{031B}
\DeclareTextAccent{\texttildehorn}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\texttildehorn}{0303}{031B}
\DeclareTextAccent{\textdotbelowhorn}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textdotbelowhorn}{0323}{031B}
\DeclareTextAccent{\textogonekoverline}{OT1}{999}
\DeclareEncodedCompositeAccents{\UTFencname}{\textogonekoverline}{0328}{0304}

\DeclareTextAccent{\textmiddledot}{OT1}{999}
\DeclareEncodedCompositeCharacter{\UTFencname}{\textmiddledot}{05BC}{05BC}


% need to patch the accents for use with TIPA's T3 encoded letters
% and shorthand for double-accents

\let\realLaTeXacute\' \def\tipaacuteaccent{\TIPAaccent{\realLaTeXacute}}
\let\realLaTeXgrave\` \def\tipagraveaccent{\TIPAaccent{\realLaTeXgrave}}
\let\realLaTeXcircum\^ \def\tipacircumaccent{\TIPAaccent{\realLaTeXcircum}}
\let\realLaTeXumlaut\" \def\tipaumlautaccent{\TIPAaccent{\realLaTeXumlaut}}
\let\realLaTeXmacron\= \def\tipamacronaccent{\TIPAaccent{\realLaTeXmacron}}
\let\realLaTeXtilde\~ \def\tipatildeaccent{\TIPAaccent{\realLaTeXtilde}}
\let\realLaTeXdot\. \def\tipadotaccent{\TIPAaccent{\realLaTeXdot}}
\let\realLaTeXring\r \def\tiparingaccent{\TIPAaccent{\realLaTeXring}}
\let\realLaTeXbreve\u \def\tipabreveaccent{\TIPAaccent{\realLaTeXbreve}}
\let\realLaTeXcaron\v \def\tipacaronaccent{\TIPAaccent{\realLaTeXcaron}}
\let\realLaTeXogonek\k \def\tipatieaccent{\TIPAaccent{\realLaTeXogonek}}
\let\realLaTeXhungar\H \def\tipahungaraccent{\TIPAaccent{\realLaTeXhungar}}
\let\realLaTeXring\c \def\tipacedillaaccent{\TIPAaccent{\realLaTeXcedilla}}
\let\realLaTeXmisc\m \def\tipamiscaccent{\TIPAaccent{\realLaTeXmisc}}
\let\realLaTeXtie\t \def\tipatieaccent{\TIPAaccent{\realLaTeXtie}}

\def\setupTIPAaccents{%
  \let\'\tipaacuteaccent
  \let\^\tipacircumaccent
  \let\`\tipagraveaccent
  \let\~\tipatildeaccent
  \let\=\tipamacronaccent
  \let\"\tipaumlautaccent
  \let\.\tipadotaccent
  \let\r\tiparingaccent
  \let\k\tipaogonekaccent
  \let\c\tipacedillaaccent
  \let\u\tipabreveaccent
  \let\v\tipawedgeaccent
  \let\H\tipahungaraccent
  \let\t\tipatieaccent
  \let\m\tipamiscaccent
}


\def\TIPAaccent#1#2{\bgroup
  \def\donextaccent{\egroup#1#2}%
  \def\doexpandaccent{\egroup\expandafter#1#2}%
  \def\tmpa{#2}\expandafter\def\expandafter\tmpb\expandafter{#2}%
  \ifx\tmpa\tmpb\else\edef\tmp{\string#2}%
    \expandafter\testforslash\tmp\$!\$%
  \fi \donextaccent }
\def\testforslash#1#2\$!\${\def\tmp{#1}%
  \ifx\tmp\TIPAbareslash\else
   \let\donextaccent\doexpandaccent
  \fi}
\def\catchbareslash#1#2\$!\${\def\TIPAbareslash{#1}}
\edef\next{\string\ }
\expandafter\catchbareslash\next\$!\$


% This assumes that the shorthands for double-accents
% are used only within  \tipatext{...} portions:

\def\tipasubacuteaccent{\TIPAaccent{\textsubacute}}
\def\tipadotacuteaccent{\TIPAaccent{\textdotacute}}
\def\tipaacutemacronaccent{\TIPAaccent{\textacutemacron}}
\def\tipasubgraveaccent{\TIPAaccent{\textsubgrave}}
\def\tipasubcircumaccent{\TIPAaccent{\textsubcircum}}
\def\tipasubtildeaccent{\TIPAaccent{\textsubtilde}}
\def\tipasubdotaccent{\TIPAaccent{\textsubdot}}
\def\tipacircumdotaccent{\TIPAaccent{\textcircumdot}}
\def\tipatildedotaccent{\TIPAaccent{\texttildedot}}
\def\tipagravedotaccent{\TIPAaccent{\textgravedot}}
\def\tipagravemacronaccent{\TIPAaccent{\textgravemacron}}
\def\tipagravecircumaccent{\TIPAaccent{\textgravecircum}}
\def\tipasubbaraccent{\TIPAaccent{\textsubbar}}
\def\tipasubringaccent{\TIPAaccent{\textsubring}}
\def\tipasubwedgeaccent{\TIPAaccent{\textsubwedge}}
\def\tipasubumlautaccent{\TIPAaccent{\textsubumlaut}}
\def\tipadoublegraveaccent{\TIPAaccent{\textdoublegrave}}
\def\tiparingmacronaccent{\TIPAaccent{\textringmacron}}
\def\tipabrevemacronaccent{\TIPAaccent{\textbrevemacron}}
\def\tipaacutewedgeaccent{\TIPAaccent{\textacutewedge}}

\edef\next{\expandafter\string\csname\UTFencname\endcsname}
\expandafter\let\csname\next\string\'-*\endcsname \tipasubacuteaccent
\expandafter\let\csname\next\string\'-.\endcsname \tipadotacuteaccent
\expandafter\let\csname\next\string\'-=\endcsname \tipaacutemacronaccent
\expandafter\let\csname\next\string\^-*\endcsname \tipasubcircumaccent
\expandafter\let\csname\next\string\^-.\endcsname \tipacircumdotaccent
\expandafter\let\csname\next\string\~-*\endcsname \tipasubtildeccent
\expandafter\let\csname\next\string\~-.\endcsname \tipatildedotaccent
\expandafter\let\csname\next\string\`-*\endcsname \tipasubgraveaccent
\expandafter\let\csname\next\string\`-.\endcsname \tipagravedotaccent
\expandafter\let\csname\next\string\`-=\endcsname \tipagravemacronaccent
\expandafter\let\csname\next\string\`-^\endcsname \tipagravecircumaccent
\expandafter\let\csname\next\string\.-*\endcsname \tipasubdotaccent
\expandafter\let\csname\next\string\"-*\endcsname \tipasubumlautaccent
\expandafter\let\csname\next\string\=-*\endcsname \tipasubbaraccent
\expandafter\let\csname\next\string\H-*\endcsname \tipadoublegraveaccent
\expandafter\let\csname\next\string\r-*\endcsname \tipasubringaccent
\expandafter\let\csname\next\string\r-=\endcsname \tiparingmacronaccent
\expandafter\let\csname\next\string\u-=\endcsname \tipabrevemacronaccent
\expandafter\let\csname\next\string\v-*\endcsname \tipasubwedgeaccent
\expandafter\let\csname\next\string\v-'\endcsname \tipaacutewedgeaccent

% Here's a way to implement TIPA's T3 encoding for uppercase letters and digits
% It's not the best possible way to implement this; but it is as good as can be
% done in macros, without introducing token-by-token parsing.

\def\setTIPAcatcodes{%
  \catcode `A = \active
  \catcode `B = \active
  \catcode `C = \active
  \catcode `D = \active
  \catcode `E = \active
  \catcode `F = \active
  \catcode `G = \active
  \catcode `H = \active
  \catcode `I = \active
  \catcode `J = \active
  \catcode `K = \active
  \catcode `L = \active
  \catcode `M = \active
  \catcode `N = \active
  \catcode `O = \active
  \catcode `P = \active
  \catcode `Q = \active
  \catcode `R = \active
  \catcode `S = \active
  \catcode `T = \active
  \catcode `U = \active
  \catcode `V = \active
  \catcode `W = \active
  \catcode `X = \active
  \catcode `Y = \active
  \catcode `Z = \active
  \catcode `0 = \active
  \catcode `1 = \active
  \catcode `2 = \active
  \catcode `3 = \active
  \catcode `4 = \active
  \catcode `5 = \active
  \catcode `6 = \active
  \catcode `7 = \active
  \catcode `8 = \active
  \catcode `9 = \active
  \catcode `\@ = \active
  \catcode `\; = \active
  \catcode `\: = \active
  \catcode `\" = \active
  \catcode `| = \active
}

{\global\let\setuptipaaccents\setupTIPAaccents
 \setTIPAcatcodes
\gdef\activatetipa{\setuptipaaccents
 \def A{\textscripta}%
% \def B{\textbeta}%  name taken for the greek letter
 \def B{\ss}%
 \def C{\textctc}%
 \def D{\dh}%
 \def E{\textepsilon}%
 \def F{\textphi}%
 \def G{\textgamma}%
% \def G{\textbabygamma}%
 \def H{\texthth}%
 \def I{\textsci}%
 \def J{\textctj}%
 \def K{\textinvscr}%
 \def L{\textturny}%
 \def M{\textltailm}%
 \def N{\ng}%
 \def O{\textopeno}%
 \def P{\textglotstop}%
 \def Q{\textrevglotstop}%
 \def R{\textfishhookr}%
 \def S{\textesh}%
 \def T{\texttheta}%
 \def U{\textupsilon}%
 \def V{\textscriptv}%
 \def W{\textturnm}%
 \def X{\textchi}%
 \def Y{\textscy}%
% \def Z{\textyogh}%
 \def Z{\textezh}%
 \def 0{\textbaru}%
 \def 1{\textbari}%
 \def 2{\textturnv}%
 \def 3{\textrevepsilon}%
 \def 4{\textturnh}%
 \def 5{\textturna}%
 \def 6{\textturnscripta}%
 \def 7{\textramshorns}%
 \def 8{\textbaro}%
 \def 9{\textreve}%
 \def @{\textschwa}%
 \def :{\textlengthmark}%
 \def ;{\texthalflength}%
 \def |{\textpipe}%
 \def "{\textprimstress}%
 }
}%  end of  \setTIPAcatcodes

% To set a special font; e.g. Doulos SIL
% use standard techniques to define the font-switch
% then redefine  \useTIPAfont  as follows:
%   \def\useTIPAfont{\doulos} 

\DeclareRobustCommand{\implementTIPAtext}{%
 \bgroup
  \let\stone\TIPAstonebar
  \let\tone\TIPAtonebar
  \setTIPAcatcodes\activatetipa
  \csname useTIPAfont\endcsname
  \implementTIPAtextx
}
\def\implementTIPAtextx#1{#1\egroup}

\AtBeginDocument{\let\textipa\implementTIPAtext}




\DeclareUTFcharacter[\UTFencname]{x0022}{\textquotedbl}
\DeclareUTFcharacter[\UTFencname]{x0023}{\texthash}
\DeclareUTFcharacter[\UTFencname]{x0024}{\textdollar}
\DeclareUTFcharacter[\UTFencname]{x0025}{\textpercent}
\DeclareUTFcharacter[\UTFencname]{x0026}{\textampersand}
\DeclareUTFcharacter[\UTFencname]{x0027}{\textquotesingle}
\DeclareUTFcharacter[\UTFencname]{x002A}{\textasteriskcentered}
\DeclareUTFcharacter[\UTFencname]{x003C}{\textless}
\DeclareUTFcharacter[\UTFencname]{x003D}{\textequals}
\DeclareUTFcharacter[\UTFencname]{x003E}{\textgreater}
\DeclareUTFcharacter[\UTFencname]{x005C}{\textbackslash}
\DeclareUTFcharacter[\UTFencname]{x005E}{\textasciicircum}% see also x02C6
\DeclareUTFcharacter[\UTFencname]{x005F}{\textunderscore}
\DeclareUTFcharacter[\UTFencname]{x0060}{\textasciigrave}% see also x02CB
\DeclareUTFcharacter[\UTFencname]{x0067}{\textg}
\DeclareUTFcharacter[\UTFencname]{x007B}{\textbraceleft}
\DeclareUTFcharacter[\UTFencname]{x007C}{\textbar}
\DeclareUTFcharacter[\UTFencname]{x007D}{\textbraceright}
\DeclareUTFcharacter[\UTFencname]{x007E}{\textasciitilde}% see also x02DC
\DeclareUTFcharacter[\UTFencname]{x00A1}{\textexclamdown}
\DeclareUTFcharacter[\UTFencname]{x00A2}{\textcent}
\DeclareUTFcharacter[\UTFencname]{x00A3}{\textsterling}
\DeclareUTFcharacter[\UTFencname]{x00A4}{\textcurrency}
\DeclareUTFcharacter[\UTFencname]{x00A5}{\textyen}
\DeclareUTFcharacter[\UTFencname]{x00A6}{\textbrokenbar}
\DeclareUTFcharacter[\UTFencname]{x00A7}{\textsection}
\DeclareUTFcharacter[\UTFencname]{x00A8}{\textasciidieresis}
\DeclareUTFcharacter[\UTFencname]{x00A9}{\textcopyright}
\DeclareUTFcharacter[\UTFencname]{x00AA}{\textordfeminine}
\DeclareUTFcharacter[\UTFencname]{x00AB}{\guillemotleft}
\DeclareUTFcharacter[\UTFencname]{x00AC}{\textlogicalnot}
%\DeclareUTFcharacter[\UTFencname]{x00AD}{\softhyphen}%  is this  \- ???
\DeclareUTFcharacter[\UTFencname]{x00AE}{\textregistered}
\DeclareUTFcharacter[\UTFencname]{x00AF}{\textasciimacron}% see also x02C9
\DeclareUTFcharacter[\UTFencname]{x00B0}{\textdegree}
\DeclareUTFcharacter[\UTFencname]{x00B1}{\textpm}
\DeclareUTFcharacter[\UTFencname]{x00B2}{\texttwosuperior}
\DeclareUTFcharacter[\UTFencname]{x00B3}{\textthreesuperior}
\DeclareUTFcharacter[\UTFencname]{x00B4}{\textasciiacute}% see also x02CA
\DeclareUTFcharacter[\UTFencname]{x00B5}{\textmu}
\DeclareUTFcharacter[\UTFencname]{x00B6}{\textparagraph}
\DeclareUTFcharacter[\UTFencname]{x00B6}{\textpilcrow}
\DeclareUTFcharacter[\UTFencname]{x00B7}{\textcentereddot}
\DeclareUTFcharacter[\UTFencname]{x00B8}{\textasciicedilla}% see also x02DB
\DeclareUTFcharacter[\UTFencname]{x00B9}{\textonesuperior}
\DeclareUTFcharacter[\UTFencname]{x00BA}{\textordmasculine}
\DeclareUTFcharacter[\UTFencname]{x00BB}{\guillemotright}
\DeclareUTFcharacter[\UTFencname]{x00BC}{\textonequarter}
\DeclareUTFcharacter[\UTFencname]{x00BD}{\textonehalf}
\DeclareUTFcharacter[\UTFencname]{x00BE}{\textthreequarters}
\DeclareUTFcharacter[\UTFencname]{x00BF}{\textquestiondown}
\DeclareUTFcomposite[\UTFencname]{x00C0}{\`}{A}
\DeclareUTFcomposite[\UTFencname]{x00C1}{\'}{A}
\DeclareUTFcomposite[\UTFencname]{x00C2}{\^}{A}
\DeclareUTFcomposite[\UTFencname]{x00C3}{\~}{A}
\DeclareUTFcomposite[\UTFencname]{x00C4}{\"}{A}
\DeclareUTFcomposite[\UTFencname]{x00C5}{\r}{A}
\DeclareUTFcharacter[\UTFencname]{x00C5}{\AA}
\DeclareUTFcharacter[\UTFencname]{x00C6}{\AE}
\DeclareUTFcomposite[\UTFencname]{x00C7}{\c}{C}
\DeclareUTFcomposite[\UTFencname]{x00C8}{\`}{E}
\DeclareUTFcomposite[\UTFencname]{x00C9}{\'}{E}
\DeclareUTFcomposite[\UTFencname]{x00CA}{\^}{E}
\DeclareUTFcomposite[\UTFencname]{x00CB}{\"}{E}
\DeclareUTFcomposite[\UTFencname]{x00CC}{\`}{I}
\DeclareUTFcomposite[\UTFencname]{x00CD}{\'}{I}
\DeclareUTFcomposite[\UTFencname]{x00CE}{\^}{I}
\DeclareUTFcomposite[\UTFencname]{x00CF}{\"}{I}
\DeclareUTFcomposite[\UTFencname]{x00D0}{\M}{D}
\DeclareUTFcharacter[\UTFencname]{x00D0}{\DH}
\DeclareUTFcomposite[\UTFencname]{x00D1}{\~}{N}
\DeclareUTFcomposite[\UTFencname]{x00D2}{\`}{O}
\DeclareUTFcomposite[\UTFencname]{x00D3}{\'}{O}
\DeclareUTFcomposite[\UTFencname]{x00D4}{\^}{O}
\DeclareUTFcomposite[\UTFencname]{x00D5}{\~}{O}
\DeclareUTFcomposite[\UTFencname]{x00D6}{\"}{O}
\DeclareUTFcharacter[\UTFencname]{x00D7}{\texttimes}
\DeclareUTFcharacter[\UTFencname]{x00D8}{\O}
\DeclareUTFcomposite[\UTFencname]{x00D9}{\`}{U}
\DeclareUTFcomposite[\UTFencname]{x00DA}{\'}{U}
\DeclareUTFcomposite[\UTFencname]{x00DB}{\^}{U}
\DeclareUTFcomposite[\UTFencname]{x00DC}{\"}{U}
\DeclareUTFcomposite[\UTFencname]{x00DD}{\'}{Y}
\DeclareUTFcharacter[\UTFencname]{x00DE}{\TH}
\DeclareUTFcharacter[\UTFencname]{x00DE}{\Thorn}
\DeclareUTFcharacter[\UTFencname]{x00DF}{\ss}    % TIPA-B
%\DeclareUTFcharacter[\UTFencname]{x00DF}{\textbeta} % see x03B2
\DeclareUTFcomposite[\UTFencname]{x00E0}{\`}{a}
\DeclareUTFcomposite[\UTFencname]{x00E1}{\'}{a}
\DeclareUTFcomposite[\UTFencname]{x00E2}{\^}{a}
\DeclareUTFcomposite[\UTFencname]{x00E3}{\~}{a}
\DeclareUTFcomposite[\UTFencname]{x00E4}{\"}{a}
\DeclareUTFcomposite[\UTFencname]{x00E5}{\r}{a}
\DeclareUTFcharacter[\UTFencname]{x00E5}{\aa}
\DeclareUTFcharacter[\UTFencname]{x00E6}{\ae}
\DeclareUTFcomposite[\UTFencname]{x00E7}{\c}{c}
\DeclareUTFcomposite[\UTFencname]{x00E8}{\`}{e}
\DeclareUTFcomposite[\UTFencname]{x00E9}{\'}{e}
\DeclareUTFcomposite[\UTFencname]{x00EA}{\^}{e}
\DeclareUTFcomposite[\UTFencname]{x00EB}{\"}{e}
\DeclareUTFcomposite[\UTFencname]{x00EC}{\`}{i}
\DeclareUTFcomposite[\UTFencname]{x00EC}{\`}{\i}
\DeclareUTFcomposite[\UTFencname]{x00ED}{\'}{i}
\DeclareUTFcomposite[\UTFencname]{x00ED}{\'}{\i}
\DeclareUTFcomposite[\UTFencname]{x00EE}{\^}{i}
\DeclareUTFcomposite[\UTFencname]{x00EE}{\^}{\i}
\DeclareUTFcomposite[\UTFencname]{x00EF}{\"}{i}
\DeclareUTFcomposite[\UTFencname]{x00EF}{\"}{\i}
\DeclareUTFcharacter[\UTFencname]{x00F0}{\dh}   % TIPA-D
\DeclareUTFcomposite[\UTFencname]{x00F1}{\~}{n}
\DeclareUTFcomposite[\UTFencname]{x00F2}{\`}{o}
\DeclareUTFcomposite[\UTFencname]{x00F3}{\'}{o}
\DeclareUTFcomposite[\UTFencname]{x00F4}{\^}{o}
\DeclareUTFcomposite[\UTFencname]{x00F5}{\~}{o}
\DeclareUTFcomposite[\UTFencname]{x00F6}{\"}{o}
\DeclareUTFcharacter[\UTFencname]{x00F7}{\textdiv}
\DeclareUTFcharacter[\UTFencname]{x00F8}{\o}
\DeclareUTFcomposite[\UTFencname]{x00F9}{\`}{u}
\DeclareUTFcomposite[\UTFencname]{x00FA}{\'}{u}
\DeclareUTFcomposite[\UTFencname]{x00FB}{\^}{u}
\DeclareUTFcomposite[\UTFencname]{x00FC}{\"}{u}
\DeclareUTFcomposite[\UTFencname]{x00FD}{\'}{y}
\DeclareUTFcharacter[\UTFencname]{x00FE}{\th}
\DeclareUTFcharacter[\UTFencname]{x00FE}{\textthorn}
\DeclareUTFcharacter[\UTFencname]{x00FE}{\textthornvari} % ?? IPA
\DeclareUTFcharacter[\UTFencname]{x00FE}{\textthornvarii} % ?? IPA
\DeclareUTFcharacter[\UTFencname]{x00FE}{\textthornvariii} % ?? IPA
\DeclareUTFcharacter[\UTFencname]{x00FE}{\textthornvariv} % ?? IPA
\DeclareUTFcomposite[\UTFencname]{x00FF}{\"}{y}
\DeclareUTFcomposite[\UTFencname]{x0100}{\=}{A}
\DeclareUTFcomposite[\UTFencname]{x0101}{\=}{a}
\DeclareUTFcomposite[\UTFencname]{x0102}{\u}{A}
\DeclareUTFcomposite[\UTFencname]{x0103}{\u}{a}
\DeclareUTFcomposite[\UTFencname]{x0104}{\k}{A}
\DeclareUTFcharacter[\UTFencname]{x0104}{\Aogonek} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0105}{\k}{a}
\DeclareUTFcharacter[\UTFencname]{x0105}{\aogonek} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0106}{\'}{C}
\DeclareUTFcomposite[\UTFencname]{x0107}{\'}{c}
\DeclareUTFcomposite[\UTFencname]{x0108}{\^}{C}
\DeclareUTFcomposite[\UTFencname]{x0109}{\^}{c}
\DeclareUTFcomposite[\UTFencname]{x010A}{\.}{C}
\DeclareUTFcomposite[\UTFencname]{x010B}{\.}{c}
\DeclareUTFcomposite[\UTFencname]{x010C}{\v}{C}
\DeclareUTFcomposite[\UTFencname]{x010D}{\v}{c}
\DeclareUTFcomposite[\UTFencname]{x010E}{\v}{D}
\DeclareUTFcomposite[\UTFencname]{x010F}{\v}{d}
\DeclareUTFcomposite[\UTFencname]{x0110}{\B}{D}
\DeclareUTFcharacter[\UTFencname]{x0110}{\DJ}
\DeclareUTFcomposite[\UTFencname]{x0111}{\B}{d}
\DeclareUTFcharacter[\UTFencname]{x0111}{\dj}
\DeclareUTFcharacter[\UTFencname]{x0111}{\textcrd}
\DeclareUTFcomposite[\UTFencname]{x0112}{\=}{E}
\DeclareUTFcomposite[\UTFencname]{x0113}{\=}{e}
\DeclareUTFcomposite[\UTFencname]{x0114}{\u}{E}
\DeclareUTFcomposite[\UTFencname]{x0115}{\u}{e}
\DeclareUTFcomposite[\UTFencname]{x0116}{\.}{E}
\DeclareUTFcomposite[\UTFencname]{x0117}{\.}{e}
\DeclareUTFcomposite[\UTFencname]{x0118}{\k}{E}
\DeclareUTFcomposite[\UTFencname]{x0119}{\k}{e}
\DeclareUTFcomposite[\UTFencname]{x011A}{\v}{E}
\DeclareUTFcomposite[\UTFencname]{x011B}{\v}{e}
\DeclareUTFcomposite[\UTFencname]{x011C}{\^}{G}
\DeclareUTFcomposite[\UTFencname]{x011D}{\^}{g}
\DeclareUTFcomposite[\UTFencname]{x011E}{\u}{G}
\DeclareUTFcomposite[\UTFencname]{x011F}{\u}{g}
\DeclareUTFcomposite[\UTFencname]{x0120}{\.}{G}
\DeclareUTFcomposite[\UTFencname]{x0121}{\.}{g}
\DeclareUTFcomposite[\UTFencname]{x0122}{\c}{G}
\DeclareUTFcomposite[\UTFencname]{x0123}{\c}{g}
\DeclareUTFcomposite[\UTFencname]{x0124}{\^}{H}
\DeclareUTFcomposite[\UTFencname]{x0125}{\^}{h}
\DeclareUTFcomposite[\UTFencname]{x0126}{\B}{H}
\DeclareUTFcomposite[\UTFencname]{x0127}{\B}{h}
\DeclareUTFcharacter[\UTFencname]{x0127}{\textcrh}
\DeclareUTFcomposite[\UTFencname]{x0128}{\~}{I}
\DeclareUTFcomposite[\UTFencname]{x0129}{\~}{i}
\DeclareUTFcomposite[\UTFencname]{x0129}{\~}{\i}
\DeclareUTFcomposite[\UTFencname]{x012A}{\=}{I}
\DeclareUTFcomposite[\UTFencname]{x012B}{\=}{i}
\DeclareUTFcomposite[\UTFencname]{x012B}{\=}{\i}
\DeclareUTFcomposite[\UTFencname]{x012C}{\u}{I}
\DeclareUTFcomposite[\UTFencname]{x012D}{\u}{i}
\DeclareUTFcomposite[\UTFencname]{x012D}{\u}{\i}
\DeclareUTFcomposite[\UTFencname]{x012E}{\k}{I}
\DeclareUTFcomposite[\UTFencname]{x012F}{\k}{i}
\DeclareUTFcomposite[\UTFencname]{x0130}{\.}{I}
\DeclareUTFcharacter[\UTFencname]{x0131}{\i}
\DeclareUTFcharacter[\UTFencname]{x0132}{\IJ}
\DeclareUTFcharacter[\UTFencname]{x0133}{\ij}
\DeclareUTFcomposite[\UTFencname]{x0134}{\^}{J}
\DeclareUTFcomposite[\UTFencname]{x0135}{\^}{j}
\DeclareUTFcomposite[\UTFencname]{x0135}{\^}{\j}
\DeclareUTFcomposite[\UTFencname]{x0136}{\c}{K}
\DeclareUTFcomposite[\UTFencname]{x0137}{\c}{k}
\DeclareUTFcharacter[\UTFencname]{x0138}{\textkra}
\DeclareUTFcomposite[\UTFencname]{x0139}{\'}{L}
\DeclareUTFcomposite[\UTFencname]{x013A}{\'}{l}
\DeclareUTFcomposite[\UTFencname]{x013B}{\c}{L}
\DeclareUTFcomposite[\UTFencname]{x013C}{\c}{l}
\DeclareUTFcomposite[\UTFencname]{x013D}{\v}{L}
\DeclareUTFcharacter[\UTFencname]{x013D}{\Lcaron} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x013E}{\v}{l}
\DeclareUTFcharacter[\UTFencname]{x013E}{\lcaron} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x013F}{\textmiddledot}{L} % with middle dot
\DeclareUTFcomposite[\UTFencname]{x0140}{\textmiddledot}{l} % with middle dot
\DeclareUTFcomposite[\UTFencname]{x0141}{\B}{L}
\DeclareUTFcharacter[\UTFencname]{x0141}{\L}
\DeclareUTFcharacter[\UTFencname]{x0141}{\Lstroke} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0142}{\B}{l}
\DeclareUTFcharacter[\UTFencname]{x0142}{\l}
\DeclareUTFcharacter[\UTFencname]{x0142}{\lstroke} %  regi-cp1250
\DeclareUTFcharacter[\UTFencname]{x0142}{\textbarl}
\DeclareUTFcomposite[\UTFencname]{x0143}{\'}{N}
\DeclareUTFcomposite[\UTFencname]{x0144}{\'}{n}
\DeclareUTFcomposite[\UTFencname]{x0145}{\c}{N}
\DeclareUTFcomposite[\UTFencname]{x0146}{\c}{n}
\DeclareUTFcomposite[\UTFencname]{x0147}{\v}{N}
\DeclareUTFcomposite[\UTFencname]{x0148}{\v}{n}
\DeclareUTFcomposite[\UTFencname]{x0149}{\textcommaabove}{n}
\DeclareUTFcharacter[\UTFencname]{x0149}{'n}
\DeclareUTFcomposite[\UTFencname]{x014A}{\m}{N}
\DeclareUTFcharacter[\UTFencname]{x014A}{\NG}
\DeclareUTFcomposite[\UTFencname]{x014B}{\m}{n}
\DeclareUTFcharacter[\UTFencname]{x014B}{\ng}   %  TIPA-N
\DeclareUTFcomposite[\UTFencname]{x014C}{\=}{O}
\DeclareUTFcomposite[\UTFencname]{x014D}{\=}{o}
\DeclareUTFcomposite[\UTFencname]{x014E}{\u}{O}
\DeclareUTFcomposite[\UTFencname]{x014F}{\u}{o}
\DeclareUTFcomposite[\UTFencname]{x0150}{\H}{O}
\DeclareUTFcomposite[\UTFencname]{x0151}{\H}{o}
\DeclareUTFcharacter[\UTFencname]{x0152}{\OE}
\DeclareUTFcharacter[\UTFencname]{x0153}{\oe}
\DeclareUTFcomposite[\UTFencname]{x0154}{\'}{R}
\DeclareUTFcharacter[\UTFencname]{x0154}{\Racute} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0155}{\'}{r}
\DeclareUTFcharacter[\UTFencname]{x0155}{\racute} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0156}{\c}{R}
\DeclareUTFcomposite[\UTFencname]{x0157}{\c}{r}
\DeclareUTFcomposite[\UTFencname]{x0158}{\v}{R}
\DeclareUTFcomposite[\UTFencname]{x0159}{\v}{r}
\DeclareUTFcomposite[\UTFencname]{x015A}{\'}{S}
\DeclareUTFcharacter[\UTFencname]{x015A}{\Sacute} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x015B}{\'}{s}
\DeclareUTFcharacter[\UTFencname]{x015B}{\sacute} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x015C}{\^}{S}
\DeclareUTFcomposite[\UTFencname]{x015D}{\^}{s}
\DeclareUTFcomposite[\UTFencname]{x015E}{\c}{S}
\DeclareUTFcharacter[\UTFencname]{x015E}{\Scedilla} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x015F}{\c}{s}
\DeclareUTFcharacter[\UTFencname]{x015F}{\scedilla} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0160}{\v}{S}
\DeclareUTFcharacter[\UTFencname]{x0160}{\Scaron} %  regi-cp1250 
\DeclareUTFcomposite[\UTFencname]{x0161}{\v}{s}
\DeclareUTFcharacter[\UTFencname]{x0161}{\scaron} %  regi-cp1250 
\DeclareUTFcomposite[\UTFencname]{x0162}{\c}{T}
\DeclareUTFcomposite[\UTFencname]{x0163}{\c}{t}
\DeclareUTFcomposite[\UTFencname]{x0164}{\v}{T}
\DeclareUTFcharacter[\UTFencname]{x0164}{\Tcaron} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0165}{\v}{t}
\DeclareUTFcharacter[\UTFencname]{x0165}{\tcaron} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x0166}{\B}{T}
\DeclareUTFcharacter[\UTFencname]{x0166}{\textTstroke}
\DeclareUTFcomposite[\UTFencname]{x0167}{\B}{t}
\DeclareUTFcharacter[\UTFencname]{x0167}{\texttstroke}
\DeclareUTFcomposite[\UTFencname]{x0168}{\~}{U}
\DeclareUTFcomposite[\UTFencname]{x0169}{\~}{u}
\DeclareUTFcomposite[\UTFencname]{x016A}{\=}{U}
\DeclareUTFcomposite[\UTFencname]{x016B}{\=}{u}
\DeclareUTFcomposite[\UTFencname]{x016C}{\u}{U}
\DeclareUTFcomposite[\UTFencname]{x016D}{\u}{u}
\DeclareUTFcomposite[\UTFencname]{x016E}{\r}{U}
\DeclareUTFcomposite[\UTFencname]{x016F}{\r}{u}
\DeclareUTFcomposite[\UTFencname]{x0170}{\H}{U}
\DeclareUTFcomposite[\UTFencname]{x0171}{\H}{u}
\DeclareUTFcomposite[\UTFencname]{x0172}{\k}{U}
\DeclareUTFcomposite[\UTFencname]{x0173}{\k}{u}
\DeclareUTFcomposite[\UTFencname]{x0174}{\^}{W}
\DeclareUTFcomposite[\UTFencname]{x0175}{\^}{w}
\DeclareUTFcomposite[\UTFencname]{x0176}{\^}{Y}
\DeclareUTFcomposite[\UTFencname]{x0177}{\^}{y}
\DeclareUTFcomposite[\UTFencname]{x0178}{\"}{Y}
\DeclareUTFcomposite[\UTFencname]{x0179}{\'}{Z}
\DeclareUTFcomposite[\UTFencname]{x017A}{\'}{z}
\DeclareUTFcomposite[\UTFencname]{x017B}{\.}{Z}
\DeclareUTFcharacter[\UTFencname]{x017B}{\Zdotaccent} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x017C}{\.}{z}
\DeclareUTFcharacter[\UTFencname]{x017C}{\zdotaccent} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x017D}{\v}{Z}
\DeclareUTFcharacter[\UTFencname]{x017D}{\Zcaron} %  regi-cp1250
\DeclareUTFcomposite[\UTFencname]{x017E}{\v}{z}
\DeclareUTFcharacter[\UTFencname]{x017E}{\zcaron} %  regi-cp1250

\DeclareUTFcomposite[\UTFencname]{x0180}{\B}{b}
\DeclareUTFcharacter[\UTFencname]{x0180}{\textcrb}
\DeclareUTFcomposite[\UTFencname]{x0181}{\m}{B}
\DeclareUTFcomposite[\UTFencname]{x0182}{\textoverline}{B} % with topbar
\DeclareUTFcomposite[\UTFencname]{x0183}{\textoverline}{b} % with topbar
%\DeclareUTFcharacter[\UTFencname]{x0184}{} % Tone 6
%\DeclareUTFcharacter[\UTFencname]{x0185}{} % tone 6
\DeclareUTFcomposite[\UTFencname]{x0186}{\m}{O}
\DeclareUTFcomposite[\UTFencname]{x0187}{\m}{C}
\DeclareUTFcomposite[\UTFencname]{x0188}{\m}{c}
\DeclareUTFcharacter[\UTFencname]{x0188}{\texthtc}
\DeclareUTFcomposite[\UTFencname]{x0189}{\M}{D}
\DeclareUTFcomposite[\UTFencname]{x018A}{\m}{D}
\DeclareUTFcomposite[\UTFencname]{x018B}{\textoverline}{D} % with topbar
\DeclareUTFcomposite[\UTFencname]{x018C}{\textoverline}{d} % with topbar
%\DeclareUTFcharacter[\UTFencname]{x018D}{} % turned delta
%\DeclareUTFcharacter[\UTFencname]{x018E}{} % reversed E
\DeclareUTFcomposite[\UTFencname]{x018E}{\M}{E}
%\DeclareUTFcharacter[\UTFencname]{x018F}{\SCHWA}
\DeclareUTFcomposite[\UTFencname]{x0190}{\m}{E} % Open E
%\DeclareUTFcharacter[\UTFencname]{x0190}{} % Open E
\DeclareUTFcomposite[\UTFencname]{x0191}{\m}{F}
\DeclareUTFcomposite[\UTFencname]{x0192}{\m}{f}
\DeclareUTFcomposite[\UTFencname]{x0193}{\texthookabove}{G} % with hook above
\DeclareUTFcomposite[\UTFencname]{x0194}{\m}{G} % capital Gamma
\DeclareUTFcharacter[\UTFencname]{x0194}{\textgamma}  %  TIPA-G
\DeclareUTFcharacter[\UTFencname]{x0195}{\hv}
\DeclareUTFcharacter[\UTFencname]{x0195}{\texthvlig}
\DeclareUTFcomposite[\UTFencname]{x0196}{\m}{I}
%\DeclareUTFcharacter[\UTFencname]{x0196}{\textiota} % ?? see x0269
\DeclareUTFcharacter[\UTFencname]{x0196}{\textvibyi} %  ?? 
\DeclareUTFcomposite[\UTFencname]{x0197}{\B}{I}
\DeclareUTFcomposite[\UTFencname]{x0198}{\m}{K}
\DeclareUTFcomposite[\UTFencname]{x0199}{\m}{k}
\DeclareUTFcharacter[\UTFencname]{x0199}{\texthtk}
\DeclareUTFcomposite[\UTFencname]{x019A}{\B}{l}
%\DeclareUTFcharacter[\UTFencname]{x019B}{} % lambda with stroke
\DeclareUTFcharacter[\UTFencname]{x019B}{\textcrlambda}
%\DeclareUTFcharacter[\UTFencname]{x019C}{} % turned M
\DeclareUTFcomposite[\UTFencname]{x019D}{\m}{J}
%\DeclareUTFcharacter[\UTFencname]{x019E}{} % N with long right leg
%\DeclareUTFcharacter[\UTFencname]{x019F}{} % O with middle tilde
%\DeclareUTFcharacter[\UTFencname]{x01A0}{} % O with horn
\DeclareUTFcomposite[\UTFencname]{x01A0}{\textrighthorn}{O} % O with horn
%\DeclareUTFcharacter[\UTFencname]{x01A1}{} % o with horn
\DeclareUTFcomposite[\UTFencname]{x01A1}{\textrighthorn}{o} % O with horn
%\DeclareUTFcharacter[\UTFencname]{x01A2}{\OI}
%\DeclareUTFcharacter[\UTFencname]{x01A3}{\oi}
\DeclareUTFcomposite[\UTFencname]{x01A4}{\m}{P}
\DeclareUTFcomposite[\UTFencname]{x01A5}{\m}{p}
\DeclareUTFcharacter[\UTFencname]{x01A5}{\texthtp}
%\DeclareUTFcharacter[\UTFencname]{x01A6}{\YR}
%\DeclareUTFcharacter[\UTFencname]{x01A7}{} % Tone 2
%\DeclareUTFcharacter[\UTFencname]{x01A8}{} % tone 2
\DeclareUTFcharacter[\UTFencname]{x01A9}{\ESH}
\DeclareUTFcharacter[\UTFencname]{x01AA}{\textlooptoprevesh} % reversed ESH loop
\DeclareUTFcharacter[\UTFencname]{x01AA}{\textlhtlongi} % Left-hooktop Long I
\DeclareUTFcomposite[\UTFencname]{x01AB}{\textpalhookbelow}{t} % t with palatal hook
\DeclareUTFcharacter[\UTFencname]{x01AB}{\textlhookt}
\DeclareUTFcomposite[\UTFencname]{x01AC}{\m}{T}
\DeclareUTFcomposite[\UTFencname]{x01AD}{\m}{t}
\DeclareUTFcharacter[\UTFencname]{x01AD}{\texthtt}
\DeclareUTFcomposite[\UTFencname]{x01AE}{\M}{T}
%\DeclareUTFcharacter[\UTFencname]{x01AF}{} % U with horn
\DeclareUTFcomposite[\UTFencname]{x01AF}{\textrighthorn}{U} % U with horn
%\DeclareUTFcharacter[\UTFencname]{x01B0}{} % u with horn
\DeclareUTFcomposite[\UTFencname]{x01B0}{\textrighthorn}{u} % u with horn
\DeclareUTFcharacter[\UTFencname]{x01B1}{\textupsilon} %  TIPA-U
\DeclareUTFcomposite[\UTFencname]{x01B2}{\m}{U}
\DeclareUTFcomposite[\UTFencname]{x01B2}{\m}{V}
\DeclareUTFcomposite[\UTFencname]{x01B3}{\m}{Y}
\DeclareUTFcomposite[\UTFencname]{x01B4}{\m}{y}
\DeclareUTFcomposite[\UTFencname]{x01B5}{\B}{Z}
\DeclareUTFcomposite[\UTFencname]{x01B6}{\B}{z}
\DeclareUTFcomposite[\UTFencname]{x01B7}{\m}{Z}
\DeclareUTFcharacter[\UTFencname]{x01B7}{\EZH}
%\DeclareUTFcharacter[\UTFencname]{x01B8}{} % EZH reversed
%\DeclareUTFcharacter[\UTFencname]{x01B8}{\textrevyogh} % ??
%\DeclareUTFcharacter[\UTFencname]{x01B9}{} % ezh reversed
\DeclareUTFcharacter[\UTFencname]{x01B9}{\textrevyogh}
\DeclareUTFcharacter[\UTFencname]{x01BA}{\textbenttailyogh} % ezh with tail
\DeclareUTFcomposite[\UTFencname]{x01BB}{\B}{2}
\DeclareUTFcharacter[\UTFencname]{x01BB}{\textcrtwo}
%\DeclareUTFcharacter[\UTFencname]{x01BC}{} % Tone 5
%\DeclareUTFcharacter[\UTFencname]{x01BD}{} % tone 5
\DeclareUTFcharacter[\UTFencname]{x01BE}{\textcrinvglotstop} % inverted glottal with stroke
\DeclareUTFcharacter[\UTFencname]{x01BF}{\wynn}
\DeclareUTFcharacter[\UTFencname]{x01C0}{\textpipe} % dental click  %  TIPA-|
\DeclareUTFcharacter[\UTFencname]{x01C0}{\textpipevar} % dental click
\DeclareUTFcharacter[\UTFencname]{x01C0}{\textvertline}
%\DeclareUTFcharacter[\UTFencname]{x01C1}{\text?} % lateral click
\DeclareUTFcharacter[\UTFencname]{x01C1}{\textdoublepipe}
\DeclareUTFcharacter[\UTFencname]{x01C1}{\textdoublepipevar}
\DeclareUTFcharacter[\UTFencname]{x01C2}{\textdoublebarpipe}
\DeclareUTFcharacter[\UTFencname]{x01C2}{\textdoublebarpipevar}
%\DeclareUTFcharacter[\UTFencname]{x01C3}{\?} % ! retroflex click
\DeclareUTFcharacter[\UTFencname]{x01C3}{\textrclick} % ??
\DeclareUTFcomposite[\UTFencname]{x01C4}{\v}{\DZ}
\DeclareUTFcomposite[\UTFencname]{x01C5}{\v}{\Dz}
\DeclareUTFcomposite[\UTFencname]{x01C6}{\v}{\dz}
\DeclareUTFcharacter[\UTFencname]{x01C7}{\LJ}
\DeclareUTFcharacter[\UTFencname]{x01C8}{\Lj}
\DeclareUTFcharacter[\UTFencname]{x01C9}{\lj}
\DeclareUTFcharacter[\UTFencname]{x01CA}{\NJ}
\DeclareUTFcharacter[\UTFencname]{x01CB}{\Nj}
\DeclareUTFcharacter[\UTFencname]{x01CC}{\nj}
\DeclareUTFcomposite[\UTFencname]{x01CD}{\v}{A}
\DeclareUTFcomposite[\UTFencname]{x01CE}{\v}{a}
\DeclareUTFcomposite[\UTFencname]{x01CF}{\v}{I}
\DeclareUTFcomposite[\UTFencname]{x01D0}{\v}{i}
\DeclareUTFcomposite[\UTFencname]{x01D0}{\v}{\i}
\DeclareUTFcomposite[\UTFencname]{x01D1}{\v}{O}
\DeclareUTFcomposite[\UTFencname]{x01D2}{\v}{o}
\DeclareUTFcomposite[\UTFencname]{x01D3}{\v}{U}
\DeclareUTFcomposite[\UTFencname]{x01D4}{\v}{u}
\DeclareUTFcomposite[\UTFencname]{x01D5}{\textdieresisoverline}{U}
\DeclareUTFcomposite[\UTFencname]{x01D5}{\=}{\"U}
\DeclareUTFcomposite[\UTFencname]{x01D6}{\textdieresisoverline}{u}
\DeclareUTFcomposite[\UTFencname]{x01D6}{\=}{\"u}
\DeclareUTFcomposite[\UTFencname]{x01D7}{\textdieresisacute}{U}
\DeclareUTFcomposite[\UTFencname]{x01D7}{\'}{\"U}
\DeclareUTFcomposite[\UTFencname]{x01D8}{\textdieresisacute}{u}
\DeclareUTFcomposite[\UTFencname]{x01D8}{\'}{\"u}
\DeclareUTFcomposite[\UTFencname]{x01D9}{\textdieresiscaron}{U}
\DeclareUTFcomposite[\UTFencname]{x01D9}{\v}{\"U}
\DeclareUTFcomposite[\UTFencname]{x01DA}{\textdieresiscaron}{u}
\DeclareUTFcomposite[\UTFencname]{x01DA}{\v}{\"u}
\DeclareUTFcomposite[\UTFencname]{x01DB}{\textdieresisgrave}{U}
\DeclareUTFcomposite[\UTFencname]{x01DB}{\`}{\"U}
\DeclareUTFcomposite[\UTFencname]{x01DC}{\textdieresisgrave}{u}
\DeclareUTFcomposite[\UTFencname]{x01DC}{\`}{\"u}
\DeclareUTFcomposite[\UTFencname]{x01DD}{\M}{e}% upside-down e, same as x0259
\DeclareUTFcharacter[\UTFencname]{x01DD}{\inve}
\DeclareUTFcomposite[\UTFencname]{x01DE}{\textdieresisoverline}{A}
\DeclareUTFcomposite[\UTFencname]{x01DE}{\=}{\"A}
\DeclareUTFcomposite[\UTFencname]{x01DF}{\textdieresisoverline}{a}
\DeclareUTFcomposite[\UTFencname]{x01DF}{\=}{\"a}
\DeclareUTFcomposite[\UTFencname]{x01E0}{\textdotoverline}{A}
\DeclareUTFcomposite[\UTFencname]{x01E0}{\"}{\.A}
\DeclareUTFcomposite[\UTFencname]{x01E1}{\textdotoverline}{a}
\DeclareUTFcomposite[\UTFencname]{x01E1}{\"}{\.a}
\DeclareUTFcomposite[\UTFencname]{x01E2}{\=}{\AE}
\DeclareUTFcomposite[\UTFencname]{x01E3}{\=}{\ae}
\DeclareUTFcomposite[\UTFencname]{x01E4}{\B}{\G}
\DeclareUTFcomposite[\UTFencname]{x01E5}{\B}{\g}
\DeclareUTFcharacter[\UTFencname]{x01E5}{\textcrg}
\DeclareUTFcomposite[\UTFencname]{x01E6}{\v}{G}
\DeclareUTFcomposite[\UTFencname]{x01E7}{\v}{g}
\DeclareUTFcomposite[\UTFencname]{x01E8}{\v}{K}
\DeclareUTFcomposite[\UTFencname]{x01E9}{\v}{k}
\DeclareUTFcomposite[\UTFencname]{x01EA}{\k}{O}
\DeclareUTFcomposite[\UTFencname]{x01EB}{\k}{o}
\DeclareUTFcomposite[\UTFencname]{x01EC}{\textogonekoverline}{O}
\DeclareUTFcomposite[\UTFencname]{x01EC}{\=}{\k O}
\DeclareUTFcomposite[\UTFencname]{x01ED}{\textogonekoverline}{o}
\DeclareUTFcomposite[\UTFencname]{x01ED}{\=}{\k o}
\DeclareUTFcomposite[\UTFencname]{x01EE}{\v}{\EZH}
\DeclareUTFcomposite[\UTFencname]{x01EF}{\v}{\ezh}
\DeclareUTFcomposite[\UTFencname]{x01F0}{\v}{j}
\DeclareUTFcomposite[\UTFencname]{x01F0}{\v}{\j}
\DeclareUTFcharacter[\UTFencname]{x01F1}{\DZ}
\DeclareUTFcharacter[\UTFencname]{x01F2}{\Dz}
\DeclareUTFcharacter[\UTFencname]{x01F3}{\dz}

\DeclareUTFcomposite[\UTFencname]{x01F4}{\'}{G}
\DeclareUTFcomposite[\UTFencname]{x01F5}{\'}{g}
\DeclareUTFcharacter[\UTFencname]{x01F6}{\HV}
\DeclareUTFcharacter[\UTFencname]{x01F7}{\WYNN}
\DeclareUTFcharacter[\UTFencname]{x01F7}{\textwynn}
\DeclareUTFcomposite[\UTFencname]{x01F8}{\`}{N}
\DeclareUTFcomposite[\UTFencname]{x01F9}{\`}{n}
\DeclareUTFcomposite[\UTFencname]{x01FA}{\'}{\r A}
\DeclareUTFcomposite[\UTFencname]{x01FB}{\'}{\r a}
\DeclareUTFcomposite[\UTFencname]{x01FC}{\'}{\AE}
\DeclareUTFcomposite[\UTFencname]{x01FD}{\'}{\ae}
\DeclareUTFcomposite[\UTFencname]{x01FE}{\'}{\O}
\DeclareUTFcomposite[\UTFencname]{x01FF}{\'}{\o}

\DeclareUTFcomposite[\UTFencname]{x0200}{\G}{A}
\DeclareUTFcomposite[\UTFencname]{x0201}{\G}{a}
\DeclareUTFcomposite[\UTFencname]{x0202}{\t}{A}
\DeclareUTFcomposite[\UTFencname]{x0203}{\t}{a}
\DeclareUTFcomposite[\UTFencname]{x0204}{\G}{E}
\DeclareUTFcomposite[\UTFencname]{x0205}{\G}{e}
\DeclareUTFcomposite[\UTFencname]{x0206}{\t}{E}
\DeclareUTFcomposite[\UTFencname]{x0207}{\t}{e}
\DeclareUTFcomposite[\UTFencname]{x0208}{\G}{I}
\DeclareUTFcomposite[\UTFencname]{x0209}{\G}{i}
\DeclareUTFcomposite[\UTFencname]{x0209}{\G}{\i}
\DeclareUTFcomposite[\UTFencname]{x020A}{\t}{I}
\DeclareUTFcomposite[\UTFencname]{x020B}{\t}{i}
\DeclareUTFcomposite[\UTFencname]{x020B}{\t}{\i}
\DeclareUTFcomposite[\UTFencname]{x020C}{\G}{O}
\DeclareUTFcomposite[\UTFencname]{x020D}{\G}{o}
\DeclareUTFcomposite[\UTFencname]{x020E}{\t}{O}
\DeclareUTFcomposite[\UTFencname]{x020F}{\t}{o}
\DeclareUTFcomposite[\UTFencname]{x0210}{\G}{R}
\DeclareUTFcomposite[\UTFencname]{x0211}{\G}{r}
\DeclareUTFcomposite[\UTFencname]{x0212}{\t}{R}
\DeclareUTFcomposite[\UTFencname]{x0213}{\t}{r}
\DeclareUTFcomposite[\UTFencname]{x0214}{\G}{U}
\DeclareUTFcomposite[\UTFencname]{x0215}{\G}{u}
\DeclareUTFcomposite[\UTFencname]{x0216}{\t}{U}
\DeclareUTFcomposite[\UTFencname]{x0217}{\t}{u}
\DeclareUTFcomposite[\UTFencname]{x0218}{\textcommabelow}{S}
\DeclareUTFcomposite[\UTFencname]{x0219}{\textcommabelow}{s}
\DeclareUTFcomposite[\UTFencname]{x021A}{\textcommabelow}{T}
\DeclareUTFcomposite[\UTFencname]{x021B}{\textcommabelow}{t}
\DeclareUTFcharacter[\UTFencname]{x021C}{\YOGH}
\DeclareUTFcharacter[\UTFencname]{x021D}{\yogh}
\DeclareUTFcharacter[\UTFencname]{x021D}{\textyogh}  %   TIPA-Z   ???
\DeclareUTFcomposite[\UTFencname]{x021E}{\v}{H}
\DeclareUTFcomposite[\UTFencname]{x021F}{\v}{h}
\DeclareUTFcomposite[\UTFencname]{x0220}{\M}{N}
%\DeclareUTFcomposite[\UTFencname]{x0221}{\?}{d} % with curl
\DeclareUTFcharacter[\UTFencname]{x0221}{\textctd}
%\DeclareUTFcharacter[\UTFencname]{x0222}{\OU}
%\DeclareUTFcharacter[\UTFencname]{x0223}{\ou}
\DeclareUTFcomposite[\UTFencname]{x0224}{\textcommabelow}{Z} % with comma
\DeclareUTFcomposite[\UTFencname]{x0225}{\textcommabelow}{z} % with comma
\DeclareUTFcharacter[\UTFencname]{x0225}{\textcommatailz}
\DeclareUTFcomposite[\UTFencname]{x0226}{\.}{A}
\DeclareUTFcomposite[\UTFencname]{x0227}{\.}{a}
\DeclareUTFcomposite[\UTFencname]{x0228}{\c}{E}
\DeclareUTFcomposite[\UTFencname]{x0229}{\c}{e}
\DeclareUTFcomposite[\UTFencname]{x022A}{\=}{\"O}
\DeclareUTFcomposite[\UTFencname]{x022A}{\textdieresisoverline}{O}
\DeclareUTFcomposite[\UTFencname]{x022B}{\=}{\"o}
\DeclareUTFcomposite[\UTFencname]{x022B}{\textdieresisoverline}{o}
\DeclareUTFcomposite[\UTFencname]{x022C}{\=}{\~O}
\DeclareUTFcomposite[\UTFencname]{x022C}{\texttildeoverline}{O}
\DeclareUTFcomposite[\UTFencname]{x022D}{\=}{\~o}
\DeclareUTFcomposite[\UTFencname]{x022D}{\texttildeoverline}{o}
\DeclareUTFcomposite[\UTFencname]{x022E}{\.}{O}
\DeclareUTFcomposite[\UTFencname]{x022F}{\.}{o}
\DeclareUTFcomposite[\UTFencname]{x0230}{\=}{\.O}
\DeclareUTFcomposite[\UTFencname]{x0230}{\textdotoverline}{O}
\DeclareUTFcomposite[\UTFencname]{x0231}{\=}{\.o}
\DeclareUTFcomposite[\UTFencname]{x0231}{\textdotoverline}{o}
\DeclareUTFcomposite[\UTFencname]{x0232}{\=}{Y}
\DeclareUTFcomposite[\UTFencname]{x0233}{\=}{y}
%\DeclareUTFcomposite[\UTFencname]{x0234}{\?}{l} % with curl
%\DeclareUTFcharacter[\UTFencname]{x0234}{\textctl} % why not ?
%\DeclareUTFcomposite[\UTFencname]{x0235}{\?}{n} % with curl
\DeclareUTFcharacter[\UTFencname]{x0235}{\textctn}
%\DeclareUTFcomposite[\UTFencname]{x0236}{\?}{t} % with curl
\DeclareUTFcharacter[\UTFencname]{x0236}{\textctt}

%\DeclareUTFcomposite[\UTFencname]{x0250}{\?}{a} % turned
\DeclareUTFcharacter[\UTFencname]{x0250}{\textturna}        % TIPA-5
%\DeclareUTFcomposite[\UTFencname]{x0251}{\?}{a} % alpha
\DeclareUTFcharacter[\UTFencname]{x0251}{\textscripta}      % TIPA-A
%\DeclareUTFcomposite[\UTFencname]{x0252}{\?}{a} % turned alpha
\DeclareUTFcharacter[\UTFencname]{x0252}{\textturnscripta}  % TIPA-6
\DeclareUTFcomposite[\UTFencname]{x0253}{\m}{b}
\DeclareUTFcomposite[\UTFencname]{x0253}{\m}{b}
\DeclareUTFcharacter[\UTFencname]{x0253}{\texthtb}
\DeclareUTFcomposite[\UTFencname]{x0254}{\m}{o}
\DeclareUTFcharacter[\UTFencname]{x0254}{\textopeno}   %  TIPA-O
%\DeclareUTFcomposite[\UTFencname]{x0255}{\?}{c} % with curl
\DeclareUTFcharacter[\UTFencname]{x0255}{\textctc}     % TIPA-C
\DeclareUTFcomposite[\UTFencname]{x0256}{\M}{d}
\DeclareUTFcharacter[\UTFencname]{x0256}{\textrtaild}
\DeclareUTFcomposite[\UTFencname]{x0257}{\m}{d}
\DeclareUTFcharacter[\UTFencname]{x0257}{\texthtd}
%\DeclareUTFcomposite[\UTFencname]{x0258}{\?}{e} % reversed
\DeclareUTFcharacter[\UTFencname]{x0258}{\textreve}    % TIPA-9
\DeclareUTFcharacter[\UTFencname]{x0259}{\schwa}
\DeclareUTFcharacter[\UTFencname]{x0259}{\textschwa}   %  TIPA-@
\DeclareUTFcomposite[\UTFencname]{x025A}{\m}{\schwa} % with hook above
\DeclareUTFcomposite[\UTFencname]{x025A}{\texthookabove}{\schwa} % with hook above
\DeclareUTFcharacter[\UTFencname]{x025A}{\textrhookschwa}
\DeclareUTFcomposite[\UTFencname]{x025B}{\m}{e}
\DeclareUTFcharacter[\UTFencname]{x025B}{\textepsilon} % ??   % TIPA-E
%\DeclareUTFcomposite[\UTFencname]{x025C}{\?}{e} % reversed, open
\DeclareUTFcharacter[\UTFencname]{x025C}{\textrevepsilon}     % TIPA-3
%\DeclareUTFcomposite[\UTFencname]{x025D}{\?}{e} % reversed, open with hook above
\DeclareUTFcomposite[\UTFencname]{x025D}{\texthookabove}{\textrevepsilon} % with hook above
\DeclareUTFcharacter[\UTFencname]{x025D}{\textrhookrevepsilon}
%\DeclareUTFcomposite[\UTFencname]{x025E}{\?}{e} % reversed closed
\DeclareUTFcharacter[\UTFencname]{x025E}{\textcloserevepsilon}
\DeclareUTFcomposite[\UTFencname]{x025F}{\B}{j}
\DeclareUTFcharacter[\UTFencname]{x025F}{\textbardotlessj}
\DeclareUTFcomposite[\UTFencname]{x0260}{\texthookabove}{g} % with hook above
\DeclareUTFcharacter[\UTFencname]{x0260}{\texthtg}
%\DeclareUTFcomposite[\UTFencname]{x0261}{\?}{g} % script
\DeclareUTFcharacter[\UTFencname]{x0261}{\textscriptg}
\let\textg\textscriptg  %  added for v0.7  RRM  2006/04/09
%\DeclareUTFcomposite[\UTFencname]{x0262}{\?}{G} % small
\DeclareUTFcharacter[\UTFencname]{x0262}{\textscg}
\DeclareUTFcomposite[\UTFencname]{x0263}{\m}{g}
\DeclareUTFcharacter[\UTFencname]{x0263}{\textbabygamma}
\DeclareUTFcharacter[\UTFencname]{x0264}{\textramshorns} % ram's horn %  TIPA-7
%\DeclareUTFcomposite[\UTFencname]{x0265}{\?}{h} % turned
\DeclareUTFcharacter[\UTFencname]{x0265}{\textturnh}    % TIPA-4
\DeclareUTFcomposite[\UTFencname]{x0266}{\m}{h} % with hook above
\DeclareUTFcomposite[\UTFencname]{x0266}{\texthookabove}{h} % with hook above
\DeclareUTFcharacter[\UTFencname]{x0266}{\texthth}  % TIPA-H
%\DeclareUTFcomposite[\UTFencname]{x0267}{\texthookabove}{\heng} % with hook above (\heng undefined!)
\DeclareUTFcharacter[\UTFencname]{x0267}{\texththeng}
\DeclareUTFcomposite[\UTFencname]{x0268}{\B}{i}
\DeclareUTFcharacter[\UTFencname]{x0268}{\textbari}    % TIPA-1
\DeclareUTFcomposite[\UTFencname]{x0269}{\m}{i}
\DeclareUTFcharacter[\UTFencname]{x0269}{\textiota} % ?? see x0196
\DeclareUTFcharacter[\UTFencname]{x0269}{\textvibyi} %  ?? 
%\DeclareUTFcomposite[\UTFencname]{x026A}{\?}{I} % small
\DeclareUTFcharacter[\UTFencname]{x026A}{\textsci}     % TIPA-I
%\DeclareUTFcomposite[\UTFencname]{x026B}{\?}{l} % with middle tilde
\DeclareUTFcharacter[\UTFencname]{x026B}{\textltilde}
%\DeclareUTFcomposite[\UTFencname]{x026C}{\?}{l} % with belt
\DeclareUTFcharacter[\UTFencname]{x026C}{\textbeltl}
\DeclareUTFcomposite[\UTFencname]{x026D}{\textrethookbelow}{l} % with retroflex hook
\DeclareUTFcharacter[\UTFencname]{x026D}{\textrtaill}
%\DeclareUTFcharacter[\UTFencname]{x026E}{\lezh}
\DeclareUTFcharacter[\UTFencname]{x026E}{\textlyoghlig}
\DeclareUTFcharacter[\UTFencname]{x026E}{\textOlyoghlig}
%\DeclareUTFcomposite[\UTFencname]{x026F}{\?}{m} % turned
\DeclareUTFcharacter[\UTFencname]{x026F}{\textturnm}   %  TIPA-W
%\DeclareUTFcomposite[\UTFencname]{x0270}{\?}{m} % with long right leg
\DeclareUTFcharacter[\UTFencname]{x0270}{\textturnmrleg}
\DeclareUTFcomposite[\UTFencname]{x0271}{\m}{m}
\DeclareUTFcharacter[\UTFencname]{x0271}{\textltailm}  %  TIPA-M
\DeclareUTFcomposite[\UTFencname]{x0272}{\m}{j}
\DeclareUTFcharacter[\UTFencname]{x0272}{\textltailn}
\DeclareUTFcomposite[\UTFencname]{x0273}{\m}{n}
\DeclareUTFcharacter[\UTFencname]{x0273}{\textrtailn}
%\DeclareUTFcomposite[\UTFencname]{x0274}{\?}{N} % small
\DeclareUTFcharacter[\UTFencname]{x0274}{\textscn}
%\DeclareUTFcomposite[\UTFencname]{x0275}{\?}{o} % barred
\DeclareUTFcharacter[\UTFencname]{x0275}{\textbaro}    % TIPA-8
%\DeclareUTFcomposite[\UTFencname]{x0276}{\?}{\OE} % small
\DeclareUTFcharacter[\UTFencname]{x0276}{\textscoelig}
%\DeclareUTFcomposite[\UTFencname]{x0277}{\?}{\textomega} % closed
\DeclareUTFcharacter[\UTFencname]{x0277}{\textcloseomega}
\DeclareUTFcharacter[\UTFencname]{x0278}{\textphi}   %  TIPA-F
%\DeclareUTFcomposite[\UTFencname]{x0279}{\?}{r} % turned
\DeclareUTFcharacter[\UTFencname]{x0279}{\textturnr}
%\DeclareUTFcomposite[\UTFencname]{x027A}{\?}{r} % turned with long leg
\DeclareUTFcharacter[\UTFencname]{x027A}{\textturnlonglegr}
\DeclareUTFcomposite[\UTFencname]{x027B}{\textrethookbelow}{r} % turned with ret hook
\DeclareUTFcharacter[\UTFencname]{x027B}{\textturnrrtail}
%\DeclareUTFcomposite[\UTFencname]{x027C}{\?}{r} % with long leg
\DeclareUTFcharacter[\UTFencname]{x027C}{\textlonglegr}
\DeclareUTFcomposite[\UTFencname]{x027D}{\textrethookbelow}{r} % with ret hook
\DeclareUTFcharacter[\UTFencname]{x027D}{\textrtailr}
%\DeclareUTFcomposite[\UTFencname]{x027E}{\?}{r} % with fishhook
\DeclareUTFcharacter[\UTFencname]{x027E}{\textfishhookr}  %  TIPA-R
\DeclareUTFcharacter[\UTFencname]{x027F}{\textlhti} %
\DeclareUTFcharacter[\UTFencname]{x027F}{\textlhtlongi} %
%\DeclareUTFcomposite[\UTFencname]{x027F}{\?}{r} % reversed with fishhook
%\DeclareUTFcomposite[\UTFencname]{x0280}{\?}{R} % small
\DeclareUTFcharacter[\UTFencname]{x0280}{\textscr}
%\DeclareUTFcomposite[\UTFencname]{x0281}{\?}{R} % inverted
\DeclareUTFcharacter[\UTFencname]{x0281}{\textinvscr}   %  TIPA-K
\DeclareUTFcomposite[\UTFencname]{x0282}{\textrethookbelow}{s} % with hook
\DeclareUTFcharacter[\UTFencname]{x0282}{\textrtails}
\DeclareUTFcomposite[\UTFencname]{x0283}{\m}{s}
\DeclareUTFcharacter[\UTFencname]{x0283}{\esh}
\DeclareUTFcharacter[\UTFencname]{x0283}{\textesh}      %  TIPA-S
%\DeclareUTFcomposite[\UTFencname]{x0284}{\m}{\textbardotlessj} % with hook above
%\DeclareUTFcomposite[\UTFencname]{x0284}{\?}{\j} % with bar and hook above
\DeclareUTFcharacter[\UTFencname]{x0284}{\texthtbardotlessj}
\DeclareUTFcharacter[\UTFencname]{x0284}{\texthtObardotlessj}
\DeclareUTFcharacter[\UTFencname]{x0284}{\texthtbardotlessjvar}
\DeclareUTFcomposite[\UTFencname]{x0285}{\m}{S} % squat reversed esh
%\DeclareUTFcomposite[\UTFencname]{x0286}{\?}{\esh} % with curl
\DeclareUTFcharacter[\UTFencname]{x0286}{\textctesh}
%\DeclareUTFcomposite[\UTFencname]{x0287}{\?}{t} % turned
\DeclareUTFcharacter[\UTFencname]{x0287}{\textturnt}
\DeclareUTFcomposite[\UTFencname]{x0288}{\M}{t}
\DeclareUTFcharacter[\UTFencname]{x0288}{\textrtailt}
\DeclareUTFcomposite[\UTFencname]{x0289}{\B}{u}
\DeclareUTFcharacter[\UTFencname]{x0289}{\textbaru}        % TIPA-0
%\DeclareUTFcharacter[\UTFencname]{x028A}{\textscupsilon}  % TIPA-U  ???
\DeclareUTFcomposite[\UTFencname]{x028B}{\m}{u}
\DeclareUTFcomposite[\UTFencname]{x028B}{\m}{v}
\DeclareUTFcharacter[\UTFencname]{x028B}{\textscriptv}  % TIPA-V
%\DeclareUTFcomposite[\UTFencname]{x028C}{\?}{v} % turned
\DeclareUTFcharacter[\UTFencname]{x028C}{\textturnv}    % TIPA-2
%\DeclareUTFcomposite[\UTFencname]{x028D}{\?}{w} % turned
\DeclareUTFcharacter[\UTFencname]{x028D}{\textturnw}
%\DeclareUTFcomposite[\UTFencname]{x028E}{\?}{y} % turned  
\DeclareUTFcharacter[\UTFencname]{x028E}{\textturny}    % TIPA-L
%\DeclareUTFcomposite[\UTFencname]{x028F}{\?}{Y} % small
\DeclareUTFcharacter[\UTFencname]{x028F}{\textscy}      % TIPA-Y
\DeclareUTFcomposite[\UTFencname]{x0290}{\textrethookbelow}{z} % with retroflex hook
\DeclareUTFcharacter[\UTFencname]{x0290}{\textrtailz}
%\DeclareUTFcomposite[\UTFencname]{x0291}{\?}{z} % with curl
\DeclareUTFcharacter[\UTFencname]{x0291}{\textctz}
\DeclareUTFcomposite[\UTFencname]{x0292}{\m}{z}
\DeclareUTFcharacter[\UTFencname]{x0292}{\ezh}
\DeclareUTFcharacter[\UTFencname]{x0292}{\textezh}          % TIPA-Z
%\DeclareUTFcomposite[\UTFencname]{x0293}{\?}{\ezh} % with curl
\DeclareUTFcharacter[\UTFencname]{x0293}{\textctyogh}
\DeclareUTFcharacter[\UTFencname]{x0294}{\textglotstop} %  TIPA-P
\DeclareUTFcharacter[\UTFencname]{x0295}{\textrevglotstop} %  TIPA-Q
\DeclareUTFcharacter[\UTFencname]{x0296}{\textinvglotstop}
\DeclareUTFcharacter[\UTFencname]{x0297}{\textstretchc}
\DeclareUTFcharacter[\UTFencname]{x0297}{\textstretchcvar}
\DeclareUTFcharacter[\UTFencname]{x0298}{\textbullseye}
\DeclareUTFcharacter[\UTFencname]{x0298}{\textObullseye}
%\DeclareUTFcomposite[\UTFencname]{x0299}{\?}{B} % small
\DeclareUTFcharacter[\UTFencname]{x0299}{\textscb}
%\DeclareUTFcomposite[\UTFencname]{x029A}{\?}{e} % closed open
\DeclareUTFcharacter[\UTFencname]{x029A}{\textcloseepsilon}
%\DeclareUTFcomposite[\UTFencname]{x029B}{\?}{G} % small with hook above
\DeclareUTFcharacter[\UTFencname]{x029B}{\texthtscg}
%\DeclareUTFcomposite[\UTFencname]{x029C}{\?}{H} % small
\DeclareUTFcharacter[\UTFencname]{x029C}{\textsch}
%\DeclareUTFcomposite[\UTFencname]{x029D}{\?}{j} % with crossed tail
\DeclareUTFcharacter[\UTFencname]{x029D}{\textctj}   %  TIPA-J
\DeclareUTFcharacter[\UTFencname]{x029D}{\textctjvar}
%\DeclareUTFcomposite[\UTFencname]{x029E}{\?}{k} % turned
\DeclareUTFcharacter[\UTFencname]{x029E}{\textturnk}
%\DeclareUTFcomposite[\UTFencname]{x029F}{\?}{L} % small
\DeclareUTFcharacter[\UTFencname]{x029F}{\textscl}
\DeclareUTFcomposite[\UTFencname]{x02A0}{\m}{q}
\DeclareUTFcharacter[\UTFencname]{x02A0}{\texthtq}
%\DeclareUTFcomposite[\UTFencname]{x02A1}{\B}{\glottal}
\DeclareUTFcharacter[\UTFencname]{x02A1}{\textbarglotstop}
%\DeclareUTFcomposite[\UTFencname]{x02A2}{\B}{\glottalinv}
\DeclareUTFcharacter[\UTFencname]{x02A2}{\textbarrevglotstop}
\DeclareUTFcharacter[\UTFencname]{x02A3}{\textdzlig}
\DeclareUTFcharacter[\UTFencname]{x02A4}{\textdyoghlig}
\DeclareUTFcharacter[\UTFencname]{x02A5}{\textdctzlig}
\DeclareUTFcharacter[\UTFencname]{x02A6}{\texttslig}
\DeclareUTFcharacter[\UTFencname]{x02A7}{\textteshlig}
\DeclareUTFcharacter[\UTFencname]{x02A8}{\texttctclig}
\DeclareUTFcharacter[\UTFencname]{x02A9}{\textfenglig}
\DeclareUTFcharacter[\UTFencname]{x02AA}{\textlslig}
\DeclareUTFcharacter[\UTFencname]{x02AB}{\textlzlig}
%\DeclareUTFcharacter[\UTFencname]{x02AC}{} % bilabial percussive
%\DeclareUTFcharacter[\UTFencname]{x02AD}{} % bidental percussive
%\DeclareUTFcomposite[\UTFencname]{x02AE}{\?}{h} % turned with long leg
\DeclareUTFcharacter[\UTFencname]{x02AE}{\textlhtlongy}
%\DeclareUTFcomposite[\UTFencname]{x02AF}{\?}{h} % turned with ret hook
\DeclareUTFcharacter[\UTFencname]{x02AF}{\textvibyy}


\DeclareUTFcharacter[\UTFencname]{x02BD}{\textrevapostrophe}
\DeclareUTFcharacter[\UTFencname]{x02C0}{\textraiseglotstop}
\DeclareUTFcharacter[\UTFencname]{x02C6}{\textcircumaccent} % see also  x005E
\DeclareUTFcharacter[\UTFencname]{x02C7}{\textcaronaccent}  % see also   x00 ??
\DeclareUTFcharacter[\UTFencname]{x02C8}{\textprimstress} % ?? see x02B9   %  TIPA-"
\DeclareUTFcharacter[\UTFencname]{x02C9}{\textmacronaccent}  % see also   x00AF
\DeclareUTFcharacter[\UTFencname]{x02CA}{\textacuteaccent}  % see also   x00B4
\DeclareUTFcharacter[\UTFencname]{x02CB}{\textgraveaccent}  % see also   x0060
\DeclareUTFcharacter[\UTFencname]{x02CC}{\textsecstress} % ??

\DeclareUTFcharacter[\UTFencname]{x02D0}{\textlengthmark} % triangular colon  %  TIPA-:
\DeclareUTFcharacter[\UTFencname]{x02D1}{\texthalflength} % half-triang colon %  TIPA-;
\DeclareUTFcharacter[\UTFencname]{x02D8}{\textbreveaccent}  % see also   x00 ??
\DeclareUTFcharacter[\UTFencname]{x02D9}{\textdotabove}
\DeclareUTFcharacter[\UTFencname]{x02DA}{\textringabove}
\DeclareUTFcharacter[\UTFencname]{x02DB}{\textcedillaaccent}  % see also   x00B8
\DeclareUTFcharacter[\UTFencname]{x02DC}{\texttildeaccent}      % see also   x007E
\DeclareUTFcharacter[\UTFencname]{x02DD}{\textacutedbl}

{
 \gdef\real@five{5}%
 \gdef\real@four{4}%
 \gdef\real@three{3}%
 \gdef\real@two{2}%
 \gdef\real@one{1}%
 \catcode`5\active
 \catcode`4\active
 \catcode`3\active
 \catcode`2\active
 \catcode`1\active
 \gdef\TIPAresetdigits{%
  \edef1{\real@one}%
  \edef2{\real@two}%
  \edef3{\real@three}%
  \edef4{\real@four}%
  \edef5{\real@five}%
 }
}
\def\TIPAtonebar#1{\TIPAtonebari#1!!@!!}
\def\TIPAtonebari#1#2!!@!!{\TIPAtonebarx{#1}%
 \def\nextchar{#2}\ifx\nextchar\@empty
 \else
  \TIPAtonebar{#2}%
 \fi
}
\def\TIPAtonebarx#1{{\TIPAresetdigits
 \edef\TIPAtonedata{#1}\expandafter\tonebar
 \expandafter{\TIPAtonedata}}}
\def\TIPAstonebar#1{{\TIPAresetdigits
 \edef\TIPAtonedata{#1}\expandafter\stonebar
 \expandafter{\TIPAtonedata}}}

\@ifundefined{tonebar}{\DeclareTextAccent{\tonebar}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\tonebar}{01C0}{}  % \textpipe
\@ifundefined{stonebar}{\DeclareTextAccent{\stonebar}{OT1}{999}}{}
\DeclareEncodedCompositeCharacter{\UTFencname}{\stonebar}{01C0}{}  % \textpipe
\DeclareUTFcharacter[\UTFencname]{x02E5}{\tonebarextrahigh}
\DeclareUTFcomposite[\UTFencname]{x02E5}{\stonebar}{55}
\DeclareUTFcomposite[\UTFencname]{x02E5}{\tonebar}{5}
\DeclareUTFcharacter[\UTFencname]{x02E6}{\tonebarhigh}
\DeclareUTFcomposite[\UTFencname]{x02E6}{\stonebar}{44}
\DeclareUTFcomposite[\UTFencname]{x02E6}{\tonebar}{4}
\DeclareUTFcharacter[\UTFencname]{x02E7}{\tonebarmiddle}
\DeclareUTFcomposite[\UTFencname]{x02E7}{\stonebar}{33}
\DeclareUTFcomposite[\UTFencname]{x02E7}{\tonebar}{3}
\DeclareUTFcharacter[\UTFencname]{x02E8}{\tonebarlow}
\DeclareUTFcomposite[\UTFencname]{x02E8}{\stonebar}{22}
\DeclareUTFcomposite[\UTFencname]{x02E8}{\tonebar}{2}
\DeclareUTFcharacter[\UTFencname]{x02E9}{\tonebarextralow}
\DeclareUTFcomposite[\UTFencname]{x02E9}{\stonebar}{11}
\DeclareUTFcomposite[\UTFencname]{x02E9}{\tonebar}{1}
\DeclareUTFcharacter[\UTFencname]{x02EA}{\tonebaryindeparting}
\DeclareUTFcharacter[\UTFencname]{x02EB}{\tonebaryangdeparting}

\DeclareUTFcomposite[\UTFencname]{x02E8\char"02E5}{\tonebar}{25}
\DeclareUTFcomposite[\UTFencname]{x02E5\char"02E8}{\tonebar}{52}

\DeclareUTFcharacter[\UTFencname]{x02F5}{\textgravedbl} % middle
%\DeclareUTFcharacter[\UTFencname]{x????}{\textasciidieresis}% see x00A8

\DeclareUTFcharacter[\UTFencname]{x031A}{\textcorner}
\DeclareUTFcharacter[\UTFencname]{x0321}{\textpalhook}
\DeclareUTFcharacter[\UTFencname]{x0321}{\textpalhookvar}
\DeclareUTFcharacter[\UTFencname]{x0322}{\textrthook}
\DeclareUTFcharacter[\UTFencname]{x034D}{\textsubdoublearrow} % ??
\DeclareUTFcharacter[\UTFencname]{x0350}{\textrptr} % ??
\DeclareUTFcharacter[\UTFencname]{x0362}{\textsubrightarrow} % ??

%%% characters missing from  tipa.sty :  
%\DeclareUTFcharacter[\UTFencname]{x????}{\textlptr} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\texttoneletterstem} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textceltpal} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\texthooktop} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textopencorner} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrectangle} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrhoticity} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textvertline} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textbarb} % ??
\DeclareTextCommand{\textbarb}{\UTFencname}{\textlstrokethru{b}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textbarc} % ??
\DeclareTextCommand{\textbarc}{\UTFencname}{\textsstrokethru{c}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textbard} % ??
\DeclareTextCommand{\textbard}{\UTFencname}{\textlstrokethru{d}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textbarg} % ??
\DeclareTextCommand{\textbarg}{\UTFencname}{\textlstrokethru{g}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textraisevibyi} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textctdctzlig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textlhookfour} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textinvscripta} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textaolig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textscaolig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textinvsca} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textctstretchc} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textctstretchcvar} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\texthtrtaild} % ??  Hooktop right-tail D
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfrhookd} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfrhookdvar} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textdblig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textscdelta} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrhooke} % ??
\DeclareTextCommand{\textrhooke}{\UTFencname}{\textrethookbelow{e}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrhookepsilon} % ??
\DeclareTextCommand{\textrhookepsilon}{\UTFencname}{\textrethookbelow{\textepsilon}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textscf} % ??
\DeclareTextCommand{\textscf}{\UTFencname}{\textsc{f}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfrtailgamma} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textbktailgamma} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\texthtrtailhth} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textheng} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrevscl} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\texthmlig} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\textnrleg} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfrbarn} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfemale} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\textuncrfemale} % ???
%\DeclareUTFcharacter[\UTFencname]{x????}{\textrhookopeno} % ???
\DeclareTextCommand{\textrhookopeno}{\UTFencname}{\textrethookbelow{\textopeno}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textturncelig} % ??? see x1D02
%\DeclareUTFcharacter[\UTFencname]{x????}{\textinvomega} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textscomega} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textlhookp} % ??
\DeclareTextCommand{\textlhookp}{\UTFencname}{\textpalhookbelow{p}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textqplig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textscq} % ??
\DeclareTextCommand{\textscq}{\UTFencname}{\textsc{q}}
%\DeclareUTFcharacter[\UTFencname]{x????}{\textdoublebaresh} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textfrhookt} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textctturnt} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textcttctclig} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textturntwo} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textturnthree} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textctinvglotstop} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textturnglotstop} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textdoublebarslash} % ??

%\DeclareUTFcharacter[\UTFencname]{x????}{\textrevpolhook} % ??
%\DeclareUTFcharacter[\UTFencname]{x????}{\textspleftarrow} % ??


\DeclareUTFcharacter[\UTFencname]{x03B2}{\textbeta} % in fact, greek !
\DeclareUTFcharacter[\UTFencname]{x03B3}{\textgrgamma} % in fact, greek !
%\DeclareUTFcharacter[\UTFencname]{x03B5}{\textepsilon} % in fact, greek !
\DeclareUTFcharacter[\UTFencname]{x03B8}{\texttheta} % in fact, greek !  TIPA-T
\DeclareUTFcharacter[\UTFencname]{x03BB}{\textlambda} % in fact, greek !
\DeclareUTFcharacter[\UTFencname]{x03C7}{\textchi} % in fact, greek !   TIPA-X
\DeclareUTFcharacter[\UTFencname]{x03C9}{\textomega} % in fact, greek !

\DeclareUTFcharacter[\UTFencname]{x042C}{\textsoftsign} % ??  in fact, Cyrillic
\DeclareUTFcharacter[\UTFencname]{x042A}{\texthardsign} % ??  in fact, Cyrillic

\DeclareUTFcharacter[\UTFencname]{x05D0}{\textalef} % ??  in fact, Hebrew
\DeclareUTFcharacter[\UTFencname]{x05D1}{\textbet} % ??  in fact, Hebrew
\DeclareUTFcharacter[\UTFencname]{x05D2}{\textgimel} % ??  in fact, Hebrew
\DeclareUTFcharacter[\UTFencname]{x05D3}{\textdalet} % ??  in fact, Hebrew

\DeclareUTFcharacter[\UTFencname]{x0E3F}{\textbaht}

\DeclareUTFcharacter[\UTFencname]{x1D00}{\textsca}
%\DeclareUTFcharacter[\UTFencname]{x1D01}{\textscaelig}
%\DeclareUTFcharacter[\UTFencname]{x1D02}{\textscturnaelig}
\DeclareUTFcharacter[\UTFencname]{x1D02}{\textturncelig} % ???
%\DeclareUTFcharacter[\UTFencname]{x1D03}{\textscbarb}
%\DeclareUTFcharacter[\UTFencname]{x1D04}{\textscc}
%\DeclareUTFcharacter[\UTFencname]{x1D05}{\textscd}
%\DeclareUTFcharacter[\UTFencname]{x1D06}{\textscbard}
\DeclareUTFcharacter[\UTFencname]{x1D07}{\textsce}
%\DeclareUTFcharacter[\UTFencname]{x1D08}{\textscturnopene}
%\DeclareUTFcharacter[\UTFencname]{x1D09}{\textscturni}
\DeclareUTFcharacter[\UTFencname]{x1D0A}{\textscj}
\DeclareUTFcharacter[\UTFencname]{x1D0B}{\textsck}
%\DeclareUTFcharacter[\UTFencname]{x1D0C}{\textscbarc}
\DeclareUTFcharacter[\UTFencname]{x1D0D}{\textscm}
%\DeclareUTFcharacter[\UTFencname]{x1D0E}{\textscrevn}
%\DeclareUTFcharacter[\UTFencname]{x1D0F}{\textsco}
%\DeclareUTFcharacter[\UTFencname]{x1D10}{\textscopeno}
%\DeclareUTFcharacter[\UTFencname]{x1D11}{\textscsideo}
%\DeclareUTFcharacter[\UTFencname]{x1D12}{\textscsideopeno}
%\DeclareUTFcharacter[\UTFencname]{x1D13}{\textscsidestrokeo}
%\DeclareUTFcharacter[\UTFencname]{x1D14}{\textscturnoelig}
%\DeclareUTFcharacter[\UTFencname]{x1D15}{\textscou}
%\DeclareUTFcharacter[\UTFencname]{x1D16}{\textsctopo}
%\DeclareUTFcharacter[\UTFencname]{x1D17}{\textscboto}
\DeclareUTFcharacter[\UTFencname]{x1D18}{\textscp}
\DeclareUTFcharacter[\UTFencname]{x1D19}{\textrevscr}
%\DeclareUTFcharacter[\UTFencname]{x1D1A}{\textscturnr}
%\DeclareUTFcharacter[\UTFencname]{x1D1B}{\textsct}
\DeclareUTFcharacter[\UTFencname]{x1D1C}{\textscu}
\DeclareUTFcharacter[\UTFencname]{x1D1D}{\textturnscu}
%\DeclareUTFcharacter[\UTFencname]{x1D1E}{\textscsideumlautu}
%\DeclareUTFcharacter[\UTFencname]{x1D1F}{\textscsidem}
%\DeclareUTFcharacter[\UTFencname]{x1D20}{\textscv}
%\DeclareUTFcharacter[\UTFencname]{x1D21}{\textscw}
%\DeclareUTFcharacter[\UTFencname]{x1D22}{\textscz}
%\DeclareUTFcharacter[\UTFencname]{x1D23}{\textscezh}
%\DeclareUTFcharacter[\UTFencname]{x1D24}{} % laryngeal spirant
%\DeclareUTFcharacter[\UTFencname]{x1D25}{\textain}
%\DeclareUTFcharacter[\UTFencname]{x1D26}{\textscgamma}
%\DeclareUTFcharacter[\UTFencname]{x1D27}{\textsclambda}
%\DeclareUTFcharacter[\UTFencname]{x1D28}{\textscpi}
%\DeclareUTFcharacter[\UTFencname]{x1D29}{\textscrho}
%\DeclareUTFcharacter[\UTFencname]{x1D2A}{\textscpsi}
%\DeclareUTFcharacter[\UTFencname]{x1D2B}{\textscel}

%\DeclareUTFcharacter[\UTFencname]{x1D6B}{\textuelig}


\DeclareUTFcomposite[\UTFencname]{x1E00}{\textsubring}{A} % with ring below
\DeclareUTFcomposite[\UTFencname]{x1E01}{\textsubring}{a} % with ring below
\DeclareUTFcomposite[\UTFencname]{x1E02}{\.}{B}
\DeclareUTFcomposite[\UTFencname]{x1E03}{\.}{b}
\DeclareUTFcomposite[\UTFencname]{x1E04}{\d}{B}
\DeclareUTFcomposite[\UTFencname]{x1E05}{\d}{b}
\DeclareUTFcomposite[\UTFencname]{x1E06}{\b}{B}
\DeclareUTFcomposite[\UTFencname]{x1E07}{\b}{b}
\DeclareUTFcomposite[\UTFencname]{x1E08}{\'}{\c C}
\DeclareUTFcomposite[\UTFencname]{x1E09}{\'}{\c C}
\DeclareUTFcomposite[\UTFencname]{x1E0A}{\.}{D}
\DeclareUTFcomposite[\UTFencname]{x1E0B}{\.}{d}
\DeclareUTFcomposite[\UTFencname]{x1E0C}{\d}{D}
\DeclareUTFcomposite[\UTFencname]{x1E0D}{\d}{d}
\DeclareUTFcomposite[\UTFencname]{x1E0E}{\b}{D}
\DeclareUTFcomposite[\UTFencname]{x1E0F}{\b}{d}
\DeclareUTFcomposite[\UTFencname]{x1E10}{\c}{D}
\DeclareUTFcomposite[\UTFencname]{x1E11}{\c}{d}
\DeclareUTFcomposite[\UTFencname]{x1E12}{\textsubcircum}{D} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E13}{\textsubcircum}{d} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E14}{\`}{\=E}
\DeclareUTFcomposite[\UTFencname]{x1E14}{\textgravemacron}{E}
\DeclareUTFcomposite[\UTFencname]{x1E15}{\`}{\=e}
\DeclareUTFcomposite[\UTFencname]{x1E15}{\textgravemacron}{e}
\DeclareUTFcomposite[\UTFencname]{x1E16}{\'}{\=E}
\DeclareUTFcomposite[\UTFencname]{x1E16}{\textacutemacron}{E}
\DeclareUTFcomposite[\UTFencname]{x1E17}{\'}{\=e}
\DeclareUTFcomposite[\UTFencname]{x1E17}{\textacutemacron}{e}
\DeclareUTFcomposite[\UTFencname]{x1E18}{\textsubcircum}{E} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E19}{\textsubcircum}{e} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E1A}{\textsubtilde}{E} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E1B}{\textsubtilde}{e} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E1C}{\u}{\c E}
\DeclareUTFcomposite[\UTFencname]{x1E1D}{\u}{\c e}
\DeclareUTFcomposite[\UTFencname]{x1E1E}{\.}{F}
\DeclareUTFcomposite[\UTFencname]{x1E1F}{\.}{f}
\DeclareUTFcomposite[\UTFencname]{x1E20}{\=}{G}
\DeclareUTFcomposite[\UTFencname]{x1E21}{\=}{g}
\DeclareUTFcomposite[\UTFencname]{x1E22}{\.}{H}
\DeclareUTFcomposite[\UTFencname]{x1E23}{\.}{h}
\DeclareUTFcomposite[\UTFencname]{x1E24}{\d}{H}
\DeclareUTFcomposite[\UTFencname]{x1E25}{\d}{h}
\DeclareUTFcomposite[\UTFencname]{x1E26}{\"}{H}
\DeclareUTFcomposite[\UTFencname]{x1E27}{\"}{h}
\DeclareUTFcomposite[\UTFencname]{x1E28}{\c}{H}
\DeclareUTFcomposite[\UTFencname]{x1E29}{\c}{h}
\DeclareUTFcomposite[\UTFencname]{x1E2A}{\textbottomtiebar}{H} % with breve below
\DeclareUTFcomposite[\UTFencname]{x1E2B}{\textbottomtiebar}{h} % with breve below
\DeclareUTFcomposite[\UTFencname]{x1E2C}{\textsubtilde}{I} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E2D}{\textsubtilde}{i} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E2E}{\'}{\"I}
\DeclareUTFcomposite[\UTFencname]{x1E2F}{\'}{\"i}
\DeclareUTFcomposite[\UTFencname]{x1E30}{\'}{K}
\DeclareUTFcomposite[\UTFencname]{x1E31}{\'}{k}
\DeclareUTFcomposite[\UTFencname]{x1E32}{\d}{K}
\DeclareUTFcomposite[\UTFencname]{x1E33}{\d}{k}
\DeclareUTFcomposite[\UTFencname]{x1E34}{\b}{K}
\DeclareUTFcomposite[\UTFencname]{x1E35}{\b}{k}
\DeclareUTFcomposite[\UTFencname]{x1E36}{\d}{L}
\DeclareUTFcomposite[\UTFencname]{x1E37}{\d}{l}
\DeclareUTFcomposite[\UTFencname]{x1E38}{\=}{\.L}
\DeclareUTFcomposite[\UTFencname]{x1E39}{\=}{\.l}
\DeclareUTFcomposite[\UTFencname]{x1E3A}{\b}{L}
\DeclareUTFcomposite[\UTFencname]{x1E3B}{\b}{l}
\DeclareUTFcomposite[\UTFencname]{x1E3C}{\textsubcircum}{L} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E3D}{\textsubcircum}{l} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E3E}{\'}{M}
\DeclareUTFcomposite[\UTFencname]{x1E3F}{\'}{m}
\DeclareUTFcomposite[\UTFencname]{x1E40}{\.}{M}
\DeclareUTFcomposite[\UTFencname]{x1E41}{\.}{m}
\DeclareUTFcomposite[\UTFencname]{x1E42}{\d}{M}
\DeclareUTFcomposite[\UTFencname]{x1E43}{\d}{m}
\DeclareUTFcomposite[\UTFencname]{x1E44}{\.}{N}
\DeclareUTFcomposite[\UTFencname]{x1E45}{\.}{n}
\DeclareUTFcomposite[\UTFencname]{x1E46}{\d}{N}
\DeclareUTFcomposite[\UTFencname]{x1E47}{\d}{n}
\DeclareUTFcomposite[\UTFencname]{x1E48}{\b}{N}
\DeclareUTFcomposite[\UTFencname]{x1E49}{\b}{n}
\DeclareUTFcomposite[\UTFencname]{x1E4A}{\textsubcircum}{N} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E4B}{\textsubcircum}{n} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E4C}{\'}{\~O}
\DeclareUTFcomposite[\UTFencname]{x1E4D}{\'}{\~o}
\DeclareUTFcomposite[\UTFencname]{x1E4E}{\'}{\~O}
\DeclareUTFcomposite[\UTFencname]{x1E4F}{\'}{\~o}
\DeclareUTFcomposite[\UTFencname]{x1E50}{\`}{\=O}
\DeclareUTFcomposite[\UTFencname]{x1E50}{\textgravemacron}{O}
\DeclareUTFcomposite[\UTFencname]{x1E51}{\`}{\=o}
\DeclareUTFcomposite[\UTFencname]{x1E51}{\textgravemacron}{o}
\DeclareUTFcomposite[\UTFencname]{x1E52}{\'}{\=O}
\DeclareUTFcomposite[\UTFencname]{x1E52}{\textacutemacron}{O}
\DeclareUTFcomposite[\UTFencname]{x1E53}{\'}{\=o}
\DeclareUTFcomposite[\UTFencname]{x1E53}{\textacutemacron}{o}
\DeclareUTFcomposite[\UTFencname]{x1E54}{\'}{P}
\DeclareUTFcomposite[\UTFencname]{x1E55}{\'}{p}
\DeclareUTFcomposite[\UTFencname]{x1E56}{\.}{P}
\DeclareUTFcomposite[\UTFencname]{x1E57}{\.}{p}
\DeclareUTFcomposite[\UTFencname]{x1E58}{\.}{R}
\DeclareUTFcomposite[\UTFencname]{x1E59}{\.}{r}
\DeclareUTFcomposite[\UTFencname]{x1E5A}{\d}{R}
\DeclareUTFcomposite[\UTFencname]{x1E5B}{\d}{r}
\DeclareUTFcomposite[\UTFencname]{x1E5C}{\=}{\d R}
\DeclareUTFcomposite[\UTFencname]{x1E5D}{\=}{\d r}
\DeclareUTFcomposite[\UTFencname]{x1E5E}{\b}{R}
\DeclareUTFcomposite[\UTFencname]{x1E5F}{\b}{r}
\DeclareUTFcomposite[\UTFencname]{x1E60}{\.}{S}
\DeclareUTFcomposite[\UTFencname]{x1E61}{\.}{s}
\DeclareUTFcomposite[\UTFencname]{x1E62}{\d}{S}
\DeclareUTFcomposite[\UTFencname]{x1E63}{\d}{s}
\DeclareUTFcomposite[\UTFencname]{x1E64}{\.}{\'S}
\DeclareUTFcomposite[\UTFencname]{x1E64}{\textdotacute}{S}
\DeclareUTFcomposite[\UTFencname]{x1E65}{\.}{\'s}
\DeclareUTFcomposite[\UTFencname]{x1E65}{\textdotacute}{s}
\DeclareUTFcomposite[\UTFencname]{x1E66}{\.}{\v S}
\DeclareUTFcomposite[\UTFencname]{x1E67}{\.}{\v s}
\DeclareUTFcomposite[\UTFencname]{x1E68}{\.}{\d S}
\DeclareUTFcomposite[\UTFencname]{x1E69}{\.}{\d s}
\DeclareUTFcomposite[\UTFencname]{x1E6A}{\.}{T}
\DeclareUTFcomposite[\UTFencname]{x1E6B}{\.}{t}
\DeclareUTFcomposite[\UTFencname]{x1E6C}{\d}{T}
\DeclareUTFcomposite[\UTFencname]{x1E6D}{\d}{t}
\DeclareUTFcomposite[\UTFencname]{x1E6E}{\b}{T}
\DeclareUTFcomposite[\UTFencname]{x1E6F}{\b}{t}
\DeclareUTFcomposite[\UTFencname]{x1E70}{\textsubcircum}{T} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E71}{\textsubcircum}{t} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E72}{\textsubumlaut}{U} % with dieresis below
\DeclareUTFcomposite[\UTFencname]{x1E73}{\textsubumlaut}{u} % with dieresis below
\DeclareUTFcomposite[\UTFencname]{x1E74}{\textsubtilde}{U} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E75}{\textsubtilde}{u} % with tilde below
\DeclareUTFcomposite[\UTFencname]{x1E76}{\textsubcircum}{U} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E77}{\textsubcircum}{u} % with circumflex below
\DeclareUTFcomposite[\UTFencname]{x1E78}{\~}{\'U}
\DeclareUTFcomposite[\UTFencname]{x1E79}{\~}{\'u}
\DeclareUTFcomposite[\UTFencname]{x1E7A}{\"}{\=U}
\DeclareUTFcomposite[\UTFencname]{x1E7B}{\"}{\=u}
\DeclareUTFcomposite[\UTFencname]{x1E7C}{\~}{V}
\DeclareUTFcomposite[\UTFencname]{x1E7D}{\~}{v}
\DeclareUTFcomposite[\UTFencname]{x1E7E}{\d}{V}
\DeclareUTFcomposite[\UTFencname]{x1E7F}{\d}{v}
\DeclareUTFcomposite[\UTFencname]{x1E80}{\`}{W}
\DeclareUTFcomposite[\UTFencname]{x1E81}{\`}{w}
\DeclareUTFcomposite[\UTFencname]{x1E82}{\'}{W}
\DeclareUTFcomposite[\UTFencname]{x1E83}{\'}{w}
\DeclareUTFcomposite[\UTFencname]{x1E84}{\"}{W}
\DeclareUTFcomposite[\UTFencname]{x1E85}{\"}{w}
\DeclareUTFcomposite[\UTFencname]{x1E86}{\.}{W}
\DeclareUTFcomposite[\UTFencname]{x1E87}{\.}{w}
\DeclareUTFcomposite[\UTFencname]{x1E88}{\d}{W}
\DeclareUTFcomposite[\UTFencname]{x1E89}{\d}{w}
\DeclareUTFcomposite[\UTFencname]{x1E8A}{\.}{X}
\DeclareUTFcomposite[\UTFencname]{x1E8B}{\.}{x}
\DeclareUTFcomposite[\UTFencname]{x1E8C}{\"}{X}
\DeclareUTFcomposite[\UTFencname]{x1E8D}{\"}{x}
\DeclareUTFcomposite[\UTFencname]{x1E8E}{\.}{Y}
\DeclareUTFcomposite[\UTFencname]{x1E8F}{\.}{y}
\DeclareUTFcomposite[\UTFencname]{x1E90}{\^}{Z}
\DeclareUTFcomposite[\UTFencname]{x1E91}{\^}{z}
\DeclareUTFcomposite[\UTFencname]{x1E92}{\d}{Z}
\DeclareUTFcomposite[\UTFencname]{x1E93}{\d}{z}
\DeclareUTFcomposite[\UTFencname]{x1E94}{\b}{Z}
\DeclareUTFcomposite[\UTFencname]{x1E95}{\b}{z}
\DeclareUTFcomposite[\UTFencname]{x1E96}{\b}{h}
\DeclareUTFcomposite[\UTFencname]{x1E97}{\"}{t}
\DeclareUTFcomposite[\UTFencname]{x1E98}{\r}{w}
\DeclareUTFcomposite[\UTFencname]{x1E99}{\r}{y}
%\DeclareUTFcomposite[\UTFencname]{x1E9A}{\?}{a} % with right half-ring
%\DeclareUTFcomposite[\UTFencname]{x1E9B}{\.}{\ss} % small long s with dot above 

\DeclareUTFcomposite[\UTFencname]{x1EA0}{\d}{A}
\DeclareUTFcomposite[\UTFencname]{x1EA1}{\d}{a}
\DeclareUTFcomposite[\UTFencname]{x1EA2}{\texthookabove}{A} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EA3}{\texthookabove}{a} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EA4}{\'}{\^A}
\DeclareUTFcomposite[\UTFencname]{x1EA4}{\textcircumacute}{A}
\DeclareUTFcomposite[\UTFencname]{x1EA5}{\'}{\^a}
\DeclareUTFcomposite[\UTFencname]{x1EA5}{\textcircumacute}{a}
\DeclareUTFcomposite[\UTFencname]{x1EA6}{\`}{\^A}
\DeclareUTFcomposite[\UTFencname]{x1EA6}{\textcircumgrave}{A}
\DeclareUTFcomposite[\UTFencname]{x1EA7}{\`}{\^a}
\DeclareUTFcomposite[\UTFencname]{x1EA7}{\textcircumgrave}{a}
\DeclareUTFcomposite[\UTFencname]{x1EA8}{\texthookabove}{\^A} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EA8}{\texthookcircum}{A}
\DeclareUTFcomposite[\UTFencname]{x1EA9}{\texthookabove}{\^a} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EA9}{\texthookcircum}{a}
\DeclareUTFcomposite[\UTFencname]{x1EAA}{\~}{\^A}
\DeclareUTFcomposite[\UTFencname]{x1EAA}{\texttildecircum}{A}
\DeclareUTFcomposite[\UTFencname]{x1EAB}{\~}{\^a}
\DeclareUTFcomposite[\UTFencname]{x1EAB}{\texttildecircum}{a}
\DeclareUTFcomposite[\UTFencname]{x1EAC}{\d}{\^A}
\DeclareUTFcomposite[\UTFencname]{x1EAC}{\textcircumdotbelow}{A}
\DeclareUTFcomposite[\UTFencname]{x1EAD}{\d}{\^a}
\DeclareUTFcomposite[\UTFencname]{x1EAD}{\textcircumdotbelow}{a}
\DeclareUTFcomposite[\UTFencname]{x1EAE}{\'}{\u A}
\DeclareUTFcomposite[\UTFencname]{x1EAE}{\textbreveacute}{A}
\DeclareUTFcomposite[\UTFencname]{x1EAF}{\'}{\u a}
\DeclareUTFcomposite[\UTFencname]{x1EAF}{\textbreveacute}{a}
\DeclareUTFcomposite[\UTFencname]{x1EB0}{\`}{\u A}
\DeclareUTFcomposite[\UTFencname]{x1EB0}{\textbrevegrave}{A}
\DeclareUTFcomposite[\UTFencname]{x1EB1}{\`}{\u a}
\DeclareUTFcomposite[\UTFencname]{x1EB1}{\textbrevegrave}{a}
\DeclareUTFcomposite[\UTFencname]{x1EB2}{\texthookabove}{\u A} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EB2}{\textbrevehook}{A}
\DeclareUTFcomposite[\UTFencname]{x1EB3}{\texthookabove}{\u a} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EB3}{\textbrevehook}{a}
\DeclareUTFcomposite[\UTFencname]{x1EB4}{\~}{\u A}
\DeclareUTFcomposite[\UTFencname]{x1EB4}{\textbrevetilde}{A}
\DeclareUTFcomposite[\UTFencname]{x1EB5}{\~}{\u a}
\DeclareUTFcomposite[\UTFencname]{x1EB5}{\textbrevetilde}{a}
\DeclareUTFcomposite[\UTFencname]{x1EB6}{\d}{\u A}
\DeclareUTFcomposite[\UTFencname]{x1EB6}{\textbrevedotbelow}{A}
\DeclareUTFcomposite[\UTFencname]{x1EB7}{\d}{\u a}
\DeclareUTFcomposite[\UTFencname]{x1EB7}{\textbrevedotbelow}{a}
\DeclareUTFcomposite[\UTFencname]{x1EB8}{\d}{E}
\DeclareUTFcomposite[\UTFencname]{x1EB9}{\d}{e}
\DeclareUTFcomposite[\UTFencname]{x1EBA}{\texthookabove}{E} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EBB}{\texthookabove}{e} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EBC}{\~}{E}
\DeclareUTFcomposite[\UTFencname]{x1EBD}{\~}{e}
\DeclareUTFcomposite[\UTFencname]{x1EBE}{\'}{\^E}
\DeclareUTFcomposite[\UTFencname]{x1EBE}{\textcircumacute}{E}
\DeclareUTFcomposite[\UTFencname]{x1EBF}{\'}{\^e}
\DeclareUTFcomposite[\UTFencname]{x1EBF}{\textcircumacute}{e}
\DeclareUTFcomposite[\UTFencname]{x1EC0}{\`}{\^E}
\DeclareUTFcomposite[\UTFencname]{x1EC0}{\textcircumgrave}{E}
\DeclareUTFcomposite[\UTFencname]{x1EC1}{\`}{\^e}
\DeclareUTFcomposite[\UTFencname]{x1EC1}{\textcircumgrave}{e}
\DeclareUTFcomposite[\UTFencname]{x1EC2}{\texthookabove}{\^E} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EC2}{\texthookcircum}{E}
\DeclareUTFcomposite[\UTFencname]{x1EC3}{\texthookabove}{\^e} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EC3}{\texthookcircum}{e}
\DeclareUTFcomposite[\UTFencname]{x1EC4}{\~}{\^E}
\DeclareUTFcomposite[\UTFencname]{x1EC4}{\texttildecircum}{E}
\DeclareUTFcomposite[\UTFencname]{x1EC5}{\~}{\^e}
\DeclareUTFcomposite[\UTFencname]{x1EC5}{\texttildecircum}{e}
\DeclareUTFcomposite[\UTFencname]{x1EC6}{\d}{\^E}
\DeclareUTFcomposite[\UTFencname]{x1EC6}{\textcircumdotbelow}{E}
\DeclareUTFcomposite[\UTFencname]{x1EC7}{\d}{\^e}
\DeclareUTFcomposite[\UTFencname]{x1EC7}{\textcircumdotbelow}{e}
\DeclareUTFcomposite[\UTFencname]{x1EC8}{\texthookabove}{I} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EC9}{\texthookabove}{i} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EC9}{\texthookabove}{\i} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1ECA}{\d}{I}
\DeclareUTFcomposite[\UTFencname]{x1ECB}{\d}{i}
\DeclareUTFcomposite[\UTFencname]{x1ECC}{\d}{O}
\DeclareUTFcomposite[\UTFencname]{x1ECD}{\d}{o}
\DeclareUTFcomposite[\UTFencname]{x1ECE}{\texthookabove}{O} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1ECF}{\texthookabove}{o} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1ED0}{\'}{\^O}
\DeclareUTFcomposite[\UTFencname]{x1ED0}{\textcircumacute}{O}
\DeclareUTFcomposite[\UTFencname]{x1ED1}{\'}{\^o}
\DeclareUTFcomposite[\UTFencname]{x1ED1}{\textcircumacute}{o}
\DeclareUTFcomposite[\UTFencname]{x1ED2}{\`}{\^O}
\DeclareUTFcomposite[\UTFencname]{x1ED2}{\textcircumgrave}{O}
\DeclareUTFcomposite[\UTFencname]{x1ED3}{\`}{\^o}
\DeclareUTFcomposite[\UTFencname]{x1ED3}{\textcircumgrave}{o}
\DeclareUTFcomposite[\UTFencname]{x1ED4}{\texthookabove}{\^O} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1ED4}{\texthookcircum}{O}
\DeclareUTFcomposite[\UTFencname]{x1ED5}{\texthookabove}{\^o} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1ED5}{\texthookcircum}{o}
\DeclareUTFcomposite[\UTFencname]{x1ED6}{\~}{\^O}
\DeclareUTFcomposite[\UTFencname]{x1ED6}{\texttildecircum}{O}
\DeclareUTFcomposite[\UTFencname]{x1ED7}{\~}{\^o}
\DeclareUTFcomposite[\UTFencname]{x1ED7}{\texttildecircum}{o}
\DeclareUTFcomposite[\UTFencname]{x1ED8}{\d}{\^O}
\DeclareUTFcomposite[\UTFencname]{x1ED8}{\textcircumdotbelow}{O}
\DeclareUTFcomposite[\UTFencname]{x1ED9}{\d}{\^o}
\DeclareUTFcomposite[\UTFencname]{x1ED9}{\textcircumdotbelow}{o}
\DeclareUTFcomposite[\UTFencname]{x1EDA}{\'}{\textrighthorn O} % O with horn
\DeclareUTFcomposite[\UTFencname]{x1EDA}{\textacutehorn}{O}
\DeclareUTFcomposite[\UTFencname]{x1EDB}{\'}{\textrighthorn o} % o with horn
\DeclareUTFcomposite[\UTFencname]{x1EDB}{\textacutehorn}{o}
\DeclareUTFcomposite[\UTFencname]{x1EDC}{\`}{\textrighthorn O} % O with horn
\DeclareUTFcomposite[\UTFencname]{x1EDC}{\textgravehorn}{O}
\DeclareUTFcomposite[\UTFencname]{x1EDD}{\`}{\textrighthorn o} % o with horn
\DeclareUTFcomposite[\UTFencname]{x1EDD}{\textgravehorn}{o}
\DeclareUTFcomposite[\UTFencname]{x1EDE}{\texthookabove}{\textrighthorn O} % with hook above and horn
\DeclareUTFcomposite[\UTFencname]{x1EDE}{\texthookhorn}{O}
\DeclareUTFcomposite[\UTFencname]{x1EDF}{\texthookabove}{\textrighthorn o} % with hook above and horn
\DeclareUTFcomposite[\UTFencname]{x1EDF}{\texthookhorn}{o}
\DeclareUTFcomposite[\UTFencname]{x1EE0}{\~}{\textrighthorn O} % O with horn
\DeclareUTFcomposite[\UTFencname]{x1EE0}{\texttildehorn}{O}
\DeclareUTFcomposite[\UTFencname]{x1EE1}{\~}{\textrighthorn o} % o with horn
\DeclareUTFcomposite[\UTFencname]{x1EE1}{\texttildehorn}{o}
\DeclareUTFcomposite[\UTFencname]{x1EE2}{\d}{\textrighthorn O} % O with horn
\DeclareUTFcomposite[\UTFencname]{x1EE2}{\textdotbelowhorn}{O}
\DeclareUTFcomposite[\UTFencname]{x1EE3}{\d}{\textrighthorn o} % o with horn
\DeclareUTFcomposite[\UTFencname]{x1EE3}{\textdotbelowhorn}{o}
\DeclareUTFcomposite[\UTFencname]{x1EE4}{\d}{U}
\DeclareUTFcomposite[\UTFencname]{x1EE5}{\d}{u}
\DeclareUTFcomposite[\UTFencname]{x1EE6}{\texthookabove}{U} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EE7}{\texthookabove}{u} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EE8}{\'}{\textrighthorn U} % U with horn
\DeclareUTFcomposite[\UTFencname]{x1EE8}{\textacutehorn}{U}
\DeclareUTFcomposite[\UTFencname]{x1EE9}{\'}{\textrighthorn u} % u with horn
\DeclareUTFcomposite[\UTFencname]{x1EE9}{\textacutehorn}{u}
\DeclareUTFcomposite[\UTFencname]{x1EEA}{\`}{\textrighthorn U} % U with horn
\DeclareUTFcomposite[\UTFencname]{x1EEA}{\textgravehorn}{U}
\DeclareUTFcomposite[\UTFencname]{x1EEB}{\`}{\textrighthorn u} % u with horn
\DeclareUTFcomposite[\UTFencname]{x1EEB}{\textgravehorn}{u}
\DeclareUTFcomposite[\UTFencname]{x1EEC}{\texthookabove}{\textrighthorn U} % with hook above and horn
\DeclareUTFcomposite[\UTFencname]{x1EEC}{\texthookhorn}{U}
\DeclareUTFcomposite[\UTFencname]{x1EED}{\texthookabove}{\textrighthorn u} % with hook above and horn
\DeclareUTFcomposite[\UTFencname]{x1EED}{\texthookhorn}{u}
\DeclareUTFcomposite[\UTFencname]{x1EEE}{\~}{\textrighthorn U} % U with horn
\DeclareUTFcomposite[\UTFencname]{x1EEE}{\texttildehorn}{U}
\DeclareUTFcomposite[\UTFencname]{x1EEF}{\~}{\textrighthorn u} % u with horn
\DeclareUTFcomposite[\UTFencname]{x1EEF}{\texttildehorn}{u}
\DeclareUTFcomposite[\UTFencname]{x1EF0}{\d}{\textrighthorn U} % U with horn
\DeclareUTFcomposite[\UTFencname]{x1EF0}{\textdotbelowhorn}{U}
\DeclareUTFcomposite[\UTFencname]{x1EF1}{\d}{\textrighthorn u} % u with horn
\DeclareUTFcomposite[\UTFencname]{x1EF1}{\textdotbelowhorn}{u}
\DeclareUTFcomposite[\UTFencname]{x1EF2}{\`}{Y}
\DeclareUTFcomposite[\UTFencname]{x1EF3}{\`}{y}
\DeclareUTFcomposite[\UTFencname]{x1EF4}{\d}{Y}
\DeclareUTFcomposite[\UTFencname]{x1EF5}{\d}{y}
\DeclareUTFcomposite[\UTFencname]{x1FE6}{\texthookabove}{Y} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1FE7}{\texthookabove}{y} % with hook above
\DeclareUTFcomposite[\UTFencname]{x1EF8}{\~}{Y}
\DeclareUTFcomposite[\UTFencname]{x1EF9}{\~}{y}

\DeclareUTFcharacter[\UTFencname]{x2012}{\textthreequartersemdash}
\DeclareUTFcharacter[\UTFencname]{x2013}{\textendash}
\DeclareUTFcharacter[\UTFencname]{x2014}{\textemdash}
\DeclareUTFcharacter[\UTFencname]{x2015}{\texttwelveudash}
\DeclareUTFcharacter[\UTFencname]{x2016}{\textbardbl}
\DeclareUTFcharacter[\UTFencname]{x2016}{\textdoublevertline}
%\DeclareUTFcharacter[\UTFencname]{x2017}{\textdbllowline}
\DeclareUTFcharacter[\UTFencname]{x2018}{\textquoteleft}
\DeclareUTFcharacter[\UTFencname]{x2019}{\textquoteright}
\DeclareUTFcharacter[\UTFencname]{x201A}{\quotesinglbase}
%\DeclareUTFcharacter[\UTFencname]{x201B}{\textquoteinv}
\DeclareUTFcharacter[\UTFencname]{x201C}{\textquotedblleft}
\DeclareUTFcharacter[\UTFencname]{x201D}{\textquotedblright}
\DeclareUTFcharacter[\UTFencname]{x201E}{\quotedblbase}
%\DeclareUTFcharacter[\UTFencname]{x201F}{\textquotedblinv}
\DeclareUTFcharacter[\UTFencname]{x2020}{\textdagger}
\DeclareUTFcharacter[\UTFencname]{x2021}{\textdaggerdbl}
\DeclareUTFcharacter[\UTFencname]{x2022}{\textbullet}
\DeclareUTFcharacter[\UTFencname]{x2026}{\textellipsis}
\DeclareUTFcharacter[\UTFencname]{x2030}{\textperthousand}
\DeclareUTFcharacter[\UTFencname]{x2031}{\textpertenthousand}
\DeclareUTFcharacter[\UTFencname]{x2031}{\textpermille}
\DeclareUTFcharacter[\UTFencname]{x2038}{\textcaret}
\DeclareUTFcharacter[\UTFencname]{x2039}{\guilsinglleft}
\DeclareUTFcharacter[\UTFencname]{x203A}{\guilsinglright}
\DeclareUTFcharacter[\UTFencname]{x203B}{\textreferencemark}
%\DeclareUTFcharacter[\UTFencname]{x203C}{\textdblexclam}
\DeclareUTFcharacter[\UTFencname]{x203D}{\textinterrobang}
\DeclareUTFcharacter[\UTFencname]{x203F}{\textbottomtiebar}
\DeclareUTFcharacter[\UTFencname]{x2044}{\textfractionsolidus}
\DeclareUTFcharacter[\UTFencname]{x2045}{\textlquill}
\DeclareUTFcharacter[\UTFencname]{x2046}{\textrquill}
%\DeclareUTFcharacter[\UTFencname]{x2047}{\textdblquestion}
%\DeclareUTFcharacter[\UTFencname]{x2048}{\textquestexclam}
%\DeclareUTFcharacter[\UTFencname]{x2049}{\textexclamquest}
%\DeclareUTFcharacter[\UTFencname]{x204B}{\textreversepilcrow}
\DeclareUTFcharacter[\UTFencname]{x2052}{\textdiscount}

%\DeclareUTFcharacter[\UTFencname]{x20A0}{\texteurocurrency}
\DeclareUTFcharacter[\UTFencname]{x20A1}{\textcolonmonetary}
%\DeclareUTFcharacter[\UTFencname]{x20A2}{\textcruzeiro}
%\DeclareUTFcharacter[\UTFencname]{x20A3}{\textfranc}
\DeclareUTFcharacter[\UTFencname]{x20A4}{\textlira}
%\DeclareUTFcharacter[\UTFencname]{x20A5}{\textmill}
\DeclareUTFcharacter[\UTFencname]{x20A6}{\textnaira}
%\DeclareUTFcharacter[\UTFencname]{x20A7}{\textpeseta}
%\DeclareUTFcharacter[\UTFencname]{x20A8}{\textrupee}
\DeclareUTFcharacter[\UTFencname]{x20A9}{\textwon}
%\DeclareUTFcharacter[\UTFencname]{x20AA}{\textsheqel}
\DeclareUTFcharacter[\UTFencname]{x20AB}{\textdong}
\DeclareUTFcharacter[\UTFencname]{x20AC}{\texteuro}
%\DeclareUTFcharacter[\UTFencname]{x20AD}{\textkip}
%\DeclareUTFcharacter[\UTFencname]{x20AE}{\texttugrik}
%\DeclareUTFcharacter[\UTFencname]{x20AF}{\textdrachma}
%\DeclareUTFcharacter[\UTFencname]{x20B0}{\textpenny}
\DeclareUTFcharacter[\UTFencname]{x20B1}{\textpeso}

%\DeclareUTFcharacter[\UTFencname]{x????}{\quotesstraightbase}
%\DeclareUTFcharacter[\UTFencname]{x????}{\quotesstraightdblbase}

\DeclareUTFcharacter[\UTFencname]{x2103}{\textcelsius}
%\DeclareUTFcharacter[\UTFencname]{x2103}{\textfahrenheit}
\DeclareUTFcharacter[\UTFencname]{x210F}{\hbar}
\DeclareUTFcharacter[\UTFencname]{x2116}{\textnumero}
\DeclareUTFcharacter[\UTFencname]{x2117}{\textcircledP}
\DeclareUTFcharacter[\UTFencname]{x211E}{\textrecipe}
\DeclareUTFcharacter[\UTFencname]{x2120}{\textservicemark}
\DeclareUTFcharacter[\UTFencname]{x2122}{\texttrademark}
%\DeclareUTFcharacter[\UTFencname]{x2125}{\textounce}
\DeclareUTFcharacter[\UTFencname]{x2126}{\textohm}
\DeclareUTFcharacter[\UTFencname]{x2127}{\textmho}
%\DeclareUTFcharacter[\UTFencname]{x212A}{\textkelvin}
%\DeclareUTFcharacter[\UTFencname]{x212B}{\textangstrom}
\DeclareUTFcharacter[\UTFencname]{x212E}{\textestimated}

\DeclareUTFcharacter[\UTFencname]{x2132}{\Finv}
\DeclareUTFcharacter[\UTFencname]{x2135}{\aleph}
\DeclareUTFcharacter[\UTFencname]{x2136}{\beth}
\DeclareUTFcharacter[\UTFencname]{x2137}{\gimel}
\DeclareUTFcharacter[\UTFencname]{x2138}{\daleth}
\DeclareUTFcharacter[\UTFencname]{x2141}{\Game}

\DeclareUTFcharacter[\UTFencname]{x2190}{\textleftarrow}
\DeclareUTFcharacter[\UTFencname]{x2191}{\textuparrow}
\DeclareUTFcharacter[\UTFencname]{x2191}{\textupstep} % ?? IPA
\DeclareUTFcharacter[\UTFencname]{x2191}{\textupfullarrow} % ?? old IPA
\DeclareUTFcharacter[\UTFencname]{x2192}{\textrightarrow}
\DeclareUTFcharacter[\UTFencname]{x2193}{\textdownarrow}
\DeclareUTFcharacter[\UTFencname]{x2193}{\textdownstep} % ?? IPA
\DeclareUTFcharacter[\UTFencname]{x2193}{\textdownfullarrow} % ?? old IPA
\DeclareUTFcharacter[\UTFencname]{x2194}{\textleftrightarrow}
\DeclareUTFcharacter[\UTFencname]{x2195}{\textupdownarrow}
\DeclareUTFcharacter[\UTFencname]{x2196}{\textnwarrow}
\DeclareUTFcharacter[\UTFencname]{x2196}{\textglobrise}
\DeclareUTFcharacter[\UTFencname]{x2197}{\textnearrow}
\DeclareUTFcharacter[\UTFencname]{x2198}{\textsearrow}
\DeclareUTFcharacter[\UTFencname]{x2198}{\textglobfall}
\DeclareUTFcharacter[\UTFencname]{x2199}{\textswarrow}

\DeclareUTFcharacter[\UTFencname]{x2212}{\textminus}
%\DeclareUTFcharacter[\UTFencname]{x2213}{\textmp}
\DeclareUTFcharacter[\UTFencname]{x221A}{\textsurd}
%\DeclareUTFcharacter[\UTFencname]{x2329}{\textlangle}% few fonts
%\DeclareUTFcharacter[\UTFencname]{x232A}{\textrangle}% few fonts
\DeclareUTFcharacter[\UTFencname]{x2422}{\textblank}
\DeclareUTFcharacter[\UTFencname]{x2423}{\textvisiblespace}
\DeclareUTFcharacter[\UTFencname]{x25E6}{\textopenbullet}
\DeclareUTFcharacter[\UTFencname]{x266A}{\textmusicalnote}
%\DeclareUTFcharacter[\UTFencname]{x271D}{\textdied}
%\DeclareUTFcharacter[\UTFencname]{x272D}{\textborn}

\DeclareRobustCommand{\T}[1]{\~{\m{#1}}}

\endinput

% Not many fonts support these code-points yet.
% So leave these undefined at present.


\DeclareUTFcharacter[\UTFencname]{x3008}{\textlangle}
\DeclareUTFcharacter[\UTFencname]{x3009}{\textrangle}
\DeclareUTFcharacter[\UTFencname]{x301A}{\textlbrackdbl}
\DeclareUTFcharacter[\UTFencname]{x301B}{\textrbrackdbl}

% old-style numbers

\DeclareUTFcharacter[\UTFencname]{xFF10}{\textzerooldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF11}{\textoneoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF12}{\texttwooldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF13}{\textthreeoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF14}{\textfouroldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF15}{\textfiveoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF16}{\textsixoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF17}{\textsevenoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF18}{\texteightoldstyle}
\DeclareUTFcharacter[\UTFencname]{xFF19}{\textnineoldstyle}

% For circled letters and small numbers
%

\DeclareEncodedCompositeCharacter{\UTFencname}{\textcircled}{20DD}{25EF}

\DeclareUTFcomposite[\UTFencname]{x2460}{\textcircled}{1}
\DeclareUTFcomposite[\UTFencname]{x2461}{\textcircled}{2}
\DeclareUTFcomposite[\UTFencname]{x2462}{\textcircled}{3}
\DeclareUTFcomposite[\UTFencname]{x2463}{\textcircled}{4}
\DeclareUTFcomposite[\UTFencname]{x2464}{\textcircled}{5}
\DeclareUTFcomposite[\UTFencname]{x2465}{\textcircled}{6}
\DeclareUTFcomposite[\UTFencname]{x2466}{\textcircled}{7}
\DeclareUTFcomposite[\UTFencname]{x2467}{\textcircled}{8}
\DeclareUTFcomposite[\UTFencname]{x2468}{\textcircled}{9}
\DeclareUTFcomposite[\UTFencname]{x2469}{\textcircled}{10}
\DeclareUTFcomposite[\UTFencname]{x246A}{\textcircled}{11}
\DeclareUTFcomposite[\UTFencname]{x246B}{\textcircled}{12}
\DeclareUTFcomposite[\UTFencname]{x246C}{\textcircled}{13}
\DeclareUTFcomposite[\UTFencname]{x246D}{\textcircled}{14}
\DeclareUTFcomposite[\UTFencname]{x246E}{\textcircled}{15}
\DeclareUTFcomposite[\UTFencname]{x246F}{\textcircled}{16}
\DeclareUTFcomposite[\UTFencname]{x2470}{\textcircled}{17}
\DeclareUTFcomposite[\UTFencname]{x2471}{\textcircled}{18}
\DeclareUTFcomposite[\UTFencname]{x2472}{\textcircled}{19}
\DeclareUTFcomposite[\UTFencname]{x2473}{\textcircled}{20}


\DeclareUTFcomposite[\UTFencname]{x24B6}{\textcircled}{A}
\DeclareUTFcomposite[\UTFencname]{x24B7}{\textcircled}{B}
\DeclareUTFcomposite[\UTFencname]{x24B8}{\textcircled}{C}
\DeclareUTFcomposite[\UTFencname]{x24B9}{\textcircled}{D}
\DeclareUTFcomposite[\UTFencname]{x24BA}{\textcircled}{E}
\DeclareUTFcomposite[\UTFencname]{x24BB}{\textcircled}{F}
\DeclareUTFcomposite[\UTFencname]{x24BC}{\textcircled}{G}
\DeclareUTFcomposite[\UTFencname]{x24BD}{\textcircled}{H}
\DeclareUTFcomposite[\UTFencname]{x24BE}{\textcircled}{I}
\DeclareUTFcomposite[\UTFencname]{x24BF}{\textcircled}{J}
\DeclareUTFcomposite[\UTFencname]{x24C0}{\textcircled}{K}
\DeclareUTFcomposite[\UTFencname]{x24C1}{\textcircled}{L}
\DeclareUTFcomposite[\UTFencname]{x24C2}{\textcircled}{M}
\DeclareUTFcomposite[\UTFencname]{x24C3}{\textcircled}{N}
\DeclareUTFcomposite[\UTFencname]{x24C4}{\textcircled}{O}
\DeclareUTFcomposite[\UTFencname]{x24C5}{\textcircled}{P}
\DeclareUTFcomposite[\UTFencname]{x24C6}{\textcircled}{Q}
\DeclareUTFcomposite[\UTFencname]{x24C7}{\textcircled}{R}
\DeclareUTFcomposite[\UTFencname]{x24C8}{\textcircled}{S}
\DeclareUTFcomposite[\UTFencname]{x24C9}{\textcircled}{T}
\DeclareUTFcomposite[\UTFencname]{x24CA}{\textcircled}{U}
\DeclareUTFcomposite[\UTFencname]{x24CB}{\textcircled}{V}
\DeclareUTFcomposite[\UTFencname]{x24CC}{\textcircled}{W}
\DeclareUTFcomposite[\UTFencname]{x24CD}{\textcircled}{X}
\DeclareUTFcomposite[\UTFencname]{x24CE}{\textcircled}{Y}
\DeclareUTFcomposite[\UTFencname]{x24CF}{\textcircled}{Z}
\DeclareUTFcomposite[\UTFencname]{x24D0}{\textcircled}{a}
\DeclareUTFcomposite[\UTFencname]{x24D1}{\textcircled}{b}
\DeclareUTFcomposite[\UTFencname]{x24D2}{\textcircled}{c}
\DeclareUTFcomposite[\UTFencname]{x24D3}{\textcircled}{d}
\DeclareUTFcomposite[\UTFencname]{x24D4}{\textcircled}{e}
\DeclareUTFcomposite[\UTFencname]{x24D5}{\textcircled}{f}
\DeclareUTFcomposite[\UTFencname]{x24D6}{\textcircled}{g}
\DeclareUTFcomposite[\UTFencname]{x24D7}{\textcircled}{h}
\DeclareUTFcomposite[\UTFencname]{x24D8}{\textcircled}{i}
\DeclareUTFcomposite[\UTFencname]{x24D9}{\textcircled}{j}
\DeclareUTFcomposite[\UTFencname]{x24DA}{\textcircled}{k}
\DeclareUTFcomposite[\UTFencname]{x24DB}{\textcircled}{l}
\DeclareUTFcomposite[\UTFencname]{x24DC}{\textcircled}{m}
\DeclareUTFcomposite[\UTFencname]{x24DD}{\textcircled}{n}
\DeclareUTFcomposite[\UTFencname]{x24DE}{\textcircled}{o}
\DeclareUTFcomposite[\UTFencname]{x24DF}{\textcircled}{p}
\DeclareUTFcomposite[\UTFencname]{x24E0}{\textcircled}{q}
\DeclareUTFcomposite[\UTFencname]{x24E1}{\textcircled}{r}
\DeclareUTFcomposite[\UTFencname]{x24E2}{\textcircled}{s}
\DeclareUTFcomposite[\UTFencname]{x24E3}{\textcircled}{t}
\DeclareUTFcomposite[\UTFencname]{x24E4}{\textcircled}{u}
\DeclareUTFcomposite[\UTFencname]{x24E5}{\textcircled}{v}
\DeclareUTFcomposite[\UTFencname]{x24E6}{\textcircled}{w}
\DeclareUTFcomposite[\UTFencname]{x24E7}{\textcircled}{x}
\DeclareUTFcomposite[\UTFencname]{x24E8}{\textcircled}{y}
\DeclareUTFcomposite[\UTFencname]{x24E9}{\textcircled}{z}
\DeclareUTFcomposite[\UTFencname]{x24EA}{\textcircled}{0}

\DeclareUTFcomposite[\UTFencname]{x3251}{\textcircled}{21}
\DeclareUTFcomposite[\UTFencname]{x3252}{\textcircled}{22}
\DeclareUTFcomposite[\UTFencname]{x3253}{\textcircled}{23}
\DeclareUTFcomposite[\UTFencname]{x3254}{\textcircled}{24}
\DeclareUTFcomposite[\UTFencname]{x3255}{\textcircled}{25}
\DeclareUTFcomposite[\UTFencname]{x3256}{\textcircled}{26}
\DeclareUTFcomposite[\UTFencname]{x3257}{\textcircled}{27}
\DeclareUTFcomposite[\UTFencname]{x3258}{\textcircled}{28}
\DeclareUTFcomposite[\UTFencname]{x3259}{\textcircled}{29}
\DeclareUTFcomposite[\UTFencname]{x325A}{\textcircled}{30}
\DeclareUTFcomposite[\UTFencname]{x325B}{\textcircled}{31}
\DeclareUTFcomposite[\UTFencname]{x325C}{\textcircled}{32}
\DeclareUTFcomposite[\UTFencname]{x325D}{\textcircled}{33}
\DeclareUTFcomposite[\UTFencname]{x325E}{\textcircled}{34}
\DeclareUTFcomposite[\UTFencname]{x325F}{\textcircled}{35}

\DeclareUTFcomposite[\UTFencname]{x32B1}{\textcircled}{36}
\DeclareUTFcomposite[\UTFencname]{x32B2}{\textcircled}{37}
\DeclareUTFcomposite[\UTFencname]{x32B3}{\textcircled}{38}
\DeclareUTFcomposite[\UTFencname]{x32B4}{\textcircled}{39}
\DeclareUTFcomposite[\UTFencname]{x32B5}{\textcircled}{40}
\DeclareUTFcomposite[\UTFencname]{x32B6}{\textcircled}{41}
\DeclareUTFcomposite[\UTFencname]{x32B7}{\textcircled}{42}
\DeclareUTFcomposite[\UTFencname]{x32B8}{\textcircled}{43}
\DeclareUTFcomposite[\UTFencname]{x32B9}{\textcircled}{44}
\DeclareUTFcomposite[\UTFencname]{x32BA}{\textcircled}{45}
\DeclareUTFcomposite[\UTFencname]{x32BB}{\textcircled}{46}
\DeclareUTFcomposite[\UTFencname]{x32BC}{\textcircled}{47}
\DeclareUTFcomposite[\UTFencname]{x32BD}{\textcircled}{48}
\DeclareUTFcomposite[\UTFencname]{x32BE}{\textcircled}{49}
\DeclareUTFcomposite[\UTFencname]{x32BF}{\textcircled}{50}


\endinput
